mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 02:30:58 +00:00
lavf/dnxhd: Autodetect more valid files.
This commit is contained in:
parent
1f4c62e84e
commit
91619d195b
@ -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 < 1235 || compression_id > 1258)
|
if (compression_id < 1235 || compression_id > 1260)
|
||||||
return 0;
|
return 0;
|
||||||
return AVPROBE_SCORE_MAX;
|
return AVPROBE_SCORE_MAX;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user