[FFmpeg-cvslog] x86: dsputil: drop some unused CPU flag debug code

Diego Biurrun git at videolan.org
Thu Jul 19 22:05:41 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Jul 18 09:46:38 2012 +0200| [9f97af2688e1cbb6cca4ea50e3dece3bc8f5bb97] | committer: Diego Biurrun

x86: dsputil: drop some unused CPU flag debug code

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f97af2688e1cbb6cca4ea50e3dece3bc8f5bb97
---

 libavcodec/x86/dsputil_mmx.c |   15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index c1d158e..5eb4a24 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -3006,21 +3006,6 @@ void ff_dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx)
 {
     int mm_flags = av_get_cpu_flags();
 
-#if 0
-    av_log(avctx, AV_LOG_INFO, "libavcodec: CPU flags:");
-    if (mm_flags & AV_CPU_FLAG_MMX)
-        av_log(avctx, AV_LOG_INFO, " mmx");
-    if (mm_flags & AV_CPU_FLAG_MMX2)
-        av_log(avctx, AV_LOG_INFO, " mmx2");
-    if (mm_flags & AV_CPU_FLAG_3DNOW)
-        av_log(avctx, AV_LOG_INFO, " 3dnow");
-    if (mm_flags & AV_CPU_FLAG_SSE)
-        av_log(avctx, AV_LOG_INFO, " sse");
-    if (mm_flags & AV_CPU_FLAG_SSE2)
-        av_log(avctx, AV_LOG_INFO, " sse2");
-    av_log(avctx, AV_LOG_INFO, "\n");
-#endif
-
     if (mm_flags & AV_CPU_FLAG_MMX) {
         const int idct_algo = avctx->idct_algo;
 



More information about the ffmpeg-cvslog mailing list