From 7881793dd0b83bf96ef83c4780da6baeb255406e Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 30 Jul 2009 20:57:41 +0000
Subject: [PATCH] Remove unused debug av_log() calls.

Originally committed as revision 19549 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/h263dec.c | 9 ---------
 libavcodec/msmpeg4.c | 7 -------
 2 files changed, 16 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index a6b0e04fdeb..719d9a43b14 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -344,11 +344,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 44fd7fd89b3..71de34ca45a 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;
 }
 
-- 
GitLab