Browse Source

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

Fixes ticket #1807.
tags/n1.1
Carl Eugen Hoyos 12 years ago
parent
commit
6254ffe0ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/dnxhddec.c

+ 1
- 1
libavformat/dnxhddec.c View File

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