aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-07-30 21:00:08 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-30 21:00:08 +0000
commit8b44de14d1fa363fa7fe18d015ead0017a0177c8 (patch)
treea4ddabf3ea7c9fa492b3448341678aba350af933 /libavcodec/h261dec.c
parent7881793dd0b83bf96ef83c4780da6baeb255406e (diff)
downloadffmpeg-8b44de14d1fa363fa7fe18d015ead0017a0177c8.tar.gz
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 2e850ecf22..d5dcc0b2c4 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -552,10 +552,8 @@ static int h261_decode_frame(AVCodecContext *avctx,
int ret;
AVFrame *pict = data;
-#ifdef DEBUG
- av_log(avctx, AV_LOG_DEBUG, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
- av_log(avctx, AV_LOG_DEBUG, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
-#endif
+ dprintf(avctx, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
+ dprintf(avctx, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
s->flags= avctx->flags;
s->flags2= avctx->flags2;