[FFmpeg-cvslog] Allow autodetection of some dnxhd files that can be decoded correctly.
Carl Eugen Hoyos
git at videolan.org
Sat Oct 13 12:00:00 CEST 2012
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Oct 13 10:26:06 2012 +0200| [6254ffe0cadc6fefcfa4b4397c25fcada4cf730d] | committer: Carl Eugen Hoyos
Allow autodetection of some dnxhd files that can be decoded correctly.
Fixes ticket #1807.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6254ffe0cadc6fefcfa4b4397c25fcada4cf730d
---
libavformat/dnxhddec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dnxhddec.c b/libavformat/dnxhddec.c
index e5c4381..7b55400 100644
--- a/libavformat/dnxhddec.c
+++ b/libavformat/dnxhddec.c
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list