mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 11:07:41 +00:00
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:
parent
f41c1fac3c
commit
a1e568bd23
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user