From 91619d195b371d9f8f39268fc00b9456f2fb8974 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 25 Aug 2015 12:06:54 +0200 Subject: [PATCH] lavf/dnxhd: Autodetect more valid files. --- libavformat/dnxhddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dnxhddec.c b/libavformat/dnxhddec.c index 910e6b6684..37e52d54c2 100644 --- a/libavformat/dnxhddec.c +++ b/libavformat/dnxhddec.c @@ -37,7 +37,7 @@ static int dnxhd_probe(AVProbeData *p) if (!w || !h) return 0; compression_id = AV_RB32(p->buf + 0x28); - if (compression_id < 1235 || compression_id > 1258) + if (compression_id < 1235 || compression_id > 1260) return 0; return AVPROBE_SCORE_MAX; }