diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-02-25 17:16:40 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-26 00:04:32 -0500 |
commit | cf6914e27f14cf2b5a66e25f5cf3549ceabb1648 (patch) | |
tree | f8462e1ed2e6b7b3531391ebf3d97e1d4a9fedde /libavcodec | |
parent | 126daeb5507425d5e9906731d70015d79045d131 (diff) | |
download | ffmpeg-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')
-rw-r--r-- | libavcodec/cdxl.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; |