diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-10-13 10:26:06 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-10-13 11:59:37 +0200 |
commit | 6254ffe0cadc6fefcfa4b4397c25fcada4cf730d (patch) | |
tree | ee4b1829e0bd869f0495164abecd09d6746bd006 | |
parent | e8b50385cf90a7660246c6b3874101861021512b (diff) | |
download | ffmpeg-6254ffe0cadc6fefcfa4b4397c25fcada4cf730d.tar.gz |
Allow autodetection of some dnxhd files that can be decoded correctly.
Fixes ticket #1807.
-rw-r--r-- | libavformat/dnxhddec.c | 2 |
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; } |