summaryrefslogtreecommitdiff
path: root/libavformat/dnxhddec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-10-13 10:26:06 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-10-13 11:59:37 +0200
commit6254ffe0cadc6fefcfa4b4397c25fcada4cf730d (patch)
treeee4b1829e0bd869f0495164abecd09d6746bd006 /libavformat/dnxhddec.c
parente8b50385cf90a7660246c6b3874101861021512b (diff)
downloadffmpeg-6254ffe0cadc6fefcfa4b4397c25fcada4cf730d.tar.gz
Allow autodetection of some dnxhd files that can be decoded correctly.
Fixes ticket #1807.
Diffstat (limited to 'libavformat/dnxhddec.c')
-rw-r--r--libavformat/dnxhddec.c2
1 files changed, 1 insertions, 1 deletions
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;
}