From 6254ffe0cadc6fefcfa4b4397c25fcada4cf730d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 13 Oct 2012 10:26:06 +0200 Subject: [PATCH] Allow autodetection of some dnxhd files that can be decoded correctly. Fixes ticket #1807. --- libavformat/dnxhddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dnxhddec.c b/libavformat/dnxhddec.c index e5c438197f..7b554003f1 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 < 1237 || compression_id > 1253) + if (compression_id < 1235 || compression_id > 1253) return 0; return AVPROBE_SCORE_MAX; }