[SCM] libav/experimental: Remove unused debug av_log() calls.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:49:35 UTC 2013


The following commit has been merged in the experimental branch:
commit 7881793dd0b83bf96ef83c4780da6baeb255406e
Author: Diego Biurrun <diego at biurrun.de>
Date:   Thu Jul 30 20:57:41 2009 +0000

    Remove unused debug av_log() calls.
    
    Originally committed as revision 19549 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index a6b0e04..719d9a4 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -345,11 +345,6 @@ int ff_h263_decode_frame(AVCodecContext *avctx,
 #ifdef PRINT_FRAME_TIME
 uint64_t time= rdtsc();
 #endif
-#ifdef DEBUG
-    av_log(avctx, AV_LOG_DEBUG, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
-    if(buf_size>0)
-        av_log(avctx, AV_LOG_DEBUG, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
-#endif
     s->flags= avctx->flags;
     s->flags2= avctx->flags2;
 
@@ -631,10 +626,6 @@ retry:
             return -1;
     }
 
-#ifdef DEBUG
-    av_log(avctx, AV_LOG_DEBUG, "qscale=%d\n", s->qscale);
-#endif
-
     ff_er_frame_start(s);
 
     //the second part of the wmv2 header contains the MB skip bits which are stored in current_picture->mb_type
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 44fd7fd..71de34c 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -362,10 +362,6 @@ void msmpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
 
     s->esc3_level_length= 0;
     s->esc3_run_length= 0;
-
-#ifdef DEBUG
-    av_log(s->avctx, AV_LOG_DEBUG, "*****frame %d:\n", frame_count++);
-#endif
 }
 
 void msmpeg4_encode_ext_header(MpegEncContext * s)
@@ -1325,9 +1321,6 @@ return -1;
     s->esc3_level_length= 0;
     s->esc3_run_length= 0;
 
-#ifdef DEBUG
-    av_log(s->avctx, AV_LOG_DEBUG, "*****frame %d:\n", frame_count++);
-#endif
     return 0;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list