1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

set pts_wrap_bits to 32 since timestamps in packets are 32 bit

Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2007-02-07 23:22:53 +00:00
parent 190972a06e
commit 51bd81f64d

View File

@ -378,6 +378,7 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) {
url_fskip(pb, len);
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];
st->pts_wrap_bits = 32;
if (main_timebase.num && main_timebase.den)
st->time_base = main_timebase;
else {