[SCM] libav/experimental: wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:42:41 UTC 2013
The following commit has been merged in the experimental branch:
commit a1e568bd23555149b2528f76d510386d911a6338
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Wed Jan 12 18:42:21 2005 +0000
wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
Originally committed as revision 3831 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/wav.c b/libavformat/wav.c
index f2bb503..4534cdf 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -201,6 +201,8 @@ static int wav_write_header(AVFormatContext *s)
}
end_tag(pb, fmt);
+ av_set_pts_info(s->streams[0], 64, 1, s->streams[0]->codec.sample_rate);
+
/* data header */
wav->data = start_tag(pb, "data");
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list