From cf6914e27f14cf2b5a66e25f5cf3549ceabb1648 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 25 Feb 2012 17:16:40 +0000 Subject: cdxl: remove early check for bpp Signed-off-by: Paul B Mahol Signed-off-by: Justin Ruggles --- libavcodec/cdxl.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavcodec/cdxl.c') diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index e23b93421a..cbb9976f67 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -197,10 +197,6 @@ static int cdxl_decode_frame(AVCodecContext *avctx, void *data, return AVERROR_INVALIDDATA; if (c->bpp < 1) return AVERROR_INVALIDDATA; - if (c->bpp > 8) { - av_log_ask_for_sample(avctx, "unsupported pixel size: %d\n", c->bpp); - return AVERROR_PATCHWELCOME; - } if (format) { av_log_ask_for_sample(avctx, "unsupported pixel format: %d\n", format); return AVERROR_PATCHWELCOME; -- cgit v1.2.3