Browse Source

cdxl: remove early check for bpp

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
tags/n0.11
Paul B Mahol Justin Ruggles 13 years ago
parent
commit
cf6914e27f
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libavcodec/cdxl.c

+ 0
- 4
libavcodec/cdxl.c View File

@@ -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;


Loading…
Cancel
Save