mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
126daeb550
commit
cf6914e27f
|
@ -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…
Reference in New Issue