Module: libav
Branch: master
Commit: cf6914e27f14cf2b5a66e25f5cf3549ceabb1648

Author:    Paul B Mahol <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Sat Feb 25 17:16:40 2012 +0000

cdxl: remove early check for bpp

Signed-off-by: Paul B Mahol <[email protected]>
Signed-off-by: Justin Ruggles <[email protected]>

---

 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to