summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-06 00:39:39 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-07 13:20:57 +0200
commitd7cf5639e727b454896e7d7d8da2abcd4b631eac (patch)
treea05f0746adefa8a7fd99a13968371698caf01b58 /libavformat/avidec.c
parente01bb264e78385367b716a55df713ae1a6750310 (diff)
Replace some printf instances in debug code by av_log.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index ff270edae5..dd2d1d0da6 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1206,7 +1206,7 @@ static int avi_load_index(AVFormatContext *s)
if (avio_seek(pb, avi->movi_end, SEEK_SET) < 0)
goto the_end; // maybe truncated file
#ifdef DEBUG_SEEK
- printf("movi_end=0x%"PRIx64"\n", avi->movi_end);
+ av_log(s, AV_LOG_DEBUG, "movi_end=0x%"PRIx64"\n", avi->movi_end);
#endif
for(;;) {
if (pb->eof_reached)
@@ -1214,7 +1214,7 @@ static int avi_load_index(AVFormatContext *s)
tag = avio_rl32(pb);
size = avio_rl32(pb);
#ifdef DEBUG_SEEK
- printf("tag=%c%c%c%c size=0x%x\n",
+ av_log(s, AV_LOG_DEBUG, "tag=%c%c%c%c size=0x%x\n",
tag & 0xff,
(tag >> 8) & 0xff,
(tag >> 16) & 0xff,