mirror of https://git.ffmpeg.org/ffmpeg.git
Allow autodetection of some dnxhd files that can be decoded correctly.
Fixes ticket #1807.
This commit is contained in:
parent
e8b50385cf
commit
6254ffe0ca
|
@ -37,7 +37,7 @@ static int dnxhd_probe(AVProbeData *p)
|
||||||
if (!w || !h)
|
if (!w || !h)
|
||||||
return 0;
|
return 0;
|
||||||
compression_id = AV_RB32(p->buf + 0x28);
|
compression_id = AV_RB32(p->buf + 0x28);
|
||||||
if (compression_id < 1237 || compression_id > 1253)
|
if (compression_id < 1235 || compression_id > 1253)
|
||||||
return 0;
|
return 0;
|
||||||
return AVPROBE_SCORE_MAX;
|
return AVPROBE_SCORE_MAX;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue