Module: libav
Branch: master
Commit: 6f1a5e8d6b7e085171a49b8ce6a371a7c9643764

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Wed Aug 10 09:39:43 2011 -0400

dsputil: remove debug message in dsputil_init().

AVCodecContext.bits_per_raw_sample is used for audio too, and values other
than 8, 9, and 10 are valid.

---

 libavcodec/dsputil.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index a7c69c0..a72bd89 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3131,8 +3131,6 @@ av_cold void dsputil_init(DSPContext* c, AVCodecContext 
*avctx)
         }
         break;
     default:
-        av_log(avctx, AV_LOG_DEBUG, "Unsupported bit depth: %d\n", 
avctx->bits_per_raw_sample);
-    case 8:
         BIT_DEPTH_FUNCS(8, _16);
         break;
     }

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

Reply via email to