aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-29 17:27:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-01 01:31:03 +0200
commitaebb56e1844d61965c97e95534c3ae0da69df028 (patch)
tree7f32704e48844fbc928217ddcf6a10fc0b46a38f /libavformat/rmdec.c
parent8c6fde8c17afb6b551698aa1b4ed79eab6527f9d (diff)
downloadffmpeg-aebb56e1844d61965c97e95534c3ae0da69df028.tar.gz
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 63d65ed97e..14880fe755 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -429,15 +429,13 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
tag = avio_rl32(pb);
tag_size = avio_rb32(pb);
avio_rb16(pb);
-#if 0
- printf("tag=%c%c%c%c (%08x) size=%d\n",
- (tag) & 0xff,
- (tag >> 8) & 0xff,
- (tag >> 16) & 0xff,
- (tag >> 24) & 0xff,
- tag,
- tag_size);
-#endif
+ av_dlog(s, "tag=%c%c%c%c (%08x) size=%d\n",
+ (tag ) & 0xff,
+ (tag >> 8) & 0xff,
+ (tag >> 16) & 0xff,
+ (tag >> 24) & 0xff,
+ tag,
+ tag_size);
if (tag_size < 10 && tag != MKTAG('D', 'A', 'T', 'A'))
return -1;
switch(tag) {