Commit a1e568bd authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent f41c1fac
...@@ -201,6 +201,8 @@ static int wav_write_header(AVFormatContext *s) ...@@ -201,6 +201,8 @@ static int wav_write_header(AVFormatContext *s)
} }
end_tag(pb, fmt); end_tag(pb, fmt);
av_set_pts_info(s->streams[0], 64, 1, s->streams[0]->codec.sample_rate);
/* data header */ /* data header */
wav->data = start_tag(pb, "data"); wav->data = start_tag(pb, "data");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment