cdxl: remove early check for bpp

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
This commit is contained in:
Paul B Mahol 2012-02-25 17:16:40 +00:00 committed by Justin Ruggles
parent 126daeb550
commit cf6914e27f
1 changed files with 0 additions and 4 deletions

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;