1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Allow autodetection of some dnxhd files that can be decoded correctly.

Fixes ticket #1807.
This commit is contained in:
Carl Eugen Hoyos 2012-10-13 10:26:06 +02:00
parent e8b50385cf
commit 6254ffe0ca

View File

@ -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;
}