set pts_wrap_bits to 32 since timestamps in packets are 32 bit
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 7 Feb 2007 23:22:53 +0000 (23:22 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 7 Feb 2007 23:22:53 +0000 (23:22 +0000)
Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/gxf.c

index 189f56a417e535e75cfd954eeed809fe2c6b2e95..243ac89c19a7ac8c0281fe6546c0aba7638a6d01 100644 (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 {