Browse Source

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
tags/v0.5
Reimar Döffinger 18 years ago
parent
commit
51bd81f64d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/gxf.c

+ 1
- 0
libavformat/gxf.c View File

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


Loading…
Cancel
Save