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
This commit is contained in:
Michael Niedermayer 2005-01-12 18:42:21 +00:00
parent f41c1fac3c
commit a1e568bd23

View File

@ -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");