diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-07 23:22:53 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-07 23:22:53 +0000 |
commit | 51bd81f64d1c8c57aabc07e49816c5795edfd701 (patch) | |
tree | 95a897758454c94ed0a4b0b906e67ab91208435a /libavformat/gxf.c | |
parent | 190972a06e26dc1f3cd367295dd085ea66a2a2da (diff) | |
download | ffmpeg-51bd81f64d1c8c57aabc07e49816c5795edfd701.tar.gz |
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
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r-- | libavformat/gxf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 189f56a417..243ac89c19 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -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 { |