diff h261.c @ 3177:8d1b2cc2a75b libavcodec

(f)printf --> av_log conversion taken from a patch by Steve L'Homme
author diego
date Wed, 08 Mar 2006 11:43:10 +0000
parents cc0357a90e8f
children e2a44d47dae8
line wrap: on
line diff
--- a/h261.c	Wed Mar 08 09:26:57 2006 +0000
+++ b/h261.c	Wed Mar 08 11:43:10 2006 +0000
@@ -921,8 +921,8 @@
     AVFrame *pict = data;
 
 #ifdef DEBUG
-    printf("*****frame %d size=%d\n", avctx->frame_number, buf_size);
-    printf("bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
+    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
     s->flags= avctx->flags;
     s->flags2= avctx->flags2;