summaryrefslogtreecommitdiffstats
path: root/libavcodec/cdxl.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-02-25 17:16:40 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-26 00:04:32 -0500
commitcf6914e27f14cf2b5a66e25f5cf3549ceabb1648 (patch)
treef8462e1ed2e6b7b3531391ebf3d97e1d4a9fedde /libavcodec/cdxl.c
parent126daeb5507425d5e9906731d70015d79045d131 (diff)
downloadffmpeg-streaming-cf6914e27f14cf2b5a66e25f5cf3549ceabb1648.zip
ffmpeg-streaming-cf6914e27f14cf2b5a66e25f5cf3549ceabb1648.tar.gz
cdxl: remove early check for bpp
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/cdxl.c')
-rw-r--r--libavcodec/cdxl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index e23b934..cbb9976 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;
OpenPOWER on IntegriCloud