[FFmpeg-cvslog] cdxl: remove early check for bpp
Paul B Mahol
git at videolan.org
Mon Feb 27 04:47:10 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Feb 25 17:16:40 2012 +0000| [cf6914e27f14cf2b5a66e25f5cf3549ceabb1648] | committer: Justin Ruggles
cdxl: remove early check for bpp
Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cf6914e27f14cf2b5a66e25f5cf3549ceabb1648
---
libavcodec/cdxl.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index e23b934..cbb9976 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;
More information about the ffmpeg-cvslog
mailing list