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

Fixes ticket #1807.
pull/6/head
Carl Eugen Hoyos 12 years ago
parent e8b50385cf
commit 6254ffe0ca
  1. 2
      libavformat/dnxhddec.c

@ -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…
Cancel
Save