Commit 937b3f0f authored by reimar's avatar reimar

set pts_wrap_bits to 32 since timestamps in packets are 32 bit


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7880 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 30da59ac
...@@ -378,6 +378,7 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) { ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment