summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-17 20:45:51 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-18 19:38:21 +0200
commit755cd4197d53946208e042f095b930dca18d9430 (patch)
tree0628da81094b0b7b888857dfe5fccda7cc81acb0 /libavformat/mov.c
parent54c5dd89e3125c1f363fe8f95d2837a796967c6e (diff)
mov: enable parsing for VC-1.
This makes lavf discard broken timestamps for non-B frames in samples/isom/vc1-wmapro.ism.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 29f01c3f72..10ffe8beb5 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1464,6 +1464,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
}
break;
+ case CODEC_ID_VC1:
+ st->need_parsing = AVSTREAM_PARSE_FULL;
+ break;
default:
break;
}