diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-12 18:42:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-12 18:42:21 +0000 |
commit | a1e568bd23555149b2528f76d510386d911a6338 (patch) | |
tree | ea8ae1a72670828ad6d2a81e80ded8963b8ae50b /libavformat/wav.c | |
parent | f41c1fac3c3e5bfcc9f6d5380aa228aa85a60562 (diff) | |
download | ffmpeg-a1e568bd23555149b2528f76d510386d911a6338.tar.gz |
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
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r-- | libavformat/wav.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index f2bb503b21..4534cdfabc 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"); |