From 1aed82846cbcdd19cab9d2eea0f7aaaa45fb674a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 17 Oct 2014 12:37:40 +0200 Subject: [PATCH] avformat/m4vdec: mark as possibly containing discontinuities This will be needed for the resolution change mpeg4 test Signed-off-by: Michael Niedermayer --- libavformat/m4vdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/m4vdec.c b/libavformat/m4vdec.c index 117b765873..d8ee530010 100644 --- a/libavformat/m4vdec.c +++ b/libavformat/m4vdec.c @@ -56,5 +56,5 @@ static int mpeg4video_probe(AVProbeData *probe_packet) return 0; } -FF_DEF_RAWVIDEO_DEMUXER(m4v, "raw MPEG-4 video", mpeg4video_probe, "m4v", - AV_CODEC_ID_MPEG4) +FF_DEF_RAWVIDEO_DEMUXER2(m4v, "raw MPEG-4 video", mpeg4video_probe, "m4v", + AV_CODEC_ID_MPEG4, AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT)