summaryrefslogtreecommitdiff
path: root/libavcodec/cdxl.c
diff options
context:
space:
mode:
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 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;