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
pull/126/head
Michael Niedermayer 20 years ago
parent f41c1fac3c
commit a1e568bd23
  1. 2
      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");

Loading…
Cancel
Save