diff options
author | Peter Ross <pross@xvid.org> | 2012-11-18 18:44:04 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2012-11-20 09:49:49 +1100 |
commit | ed27ed9f4f72564f3653ac230cf57697de77f804 (patch) | |
tree | ebcbc5efa4a0229f9683da1cc902eaac7757ea50 /libavformat/iff.c | |
parent | a74ae4691a45c49cfc071ba7280fdcac30feb933 (diff) | |
download | ffmpeg-ed27ed9f4f72564f3653ac230cf57697de77f804.tar.gz |
iff: DEEP RLE 32-bit decoder
Fixes ticket #1046.
Signed-off-by: Peter Ross <pross@xvid.org>
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r-- | libavformat/iff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c index 53e104d84a..b748f49006 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -272,7 +272,7 @@ static int iff_read_header(AVFormatContext *s) st->codec->width = avio_rb16(pb); st->codec->height = avio_rb16(pb); iff->bitmap_compression = avio_rb16(pb); - if (iff->bitmap_compression != 0) { + if (iff->bitmap_compression > 1) { av_log(s, AV_LOG_ERROR, "compression %i not supported\n", iff->bitmap_compression); return AVERROR_PATCHWELCOME; |