diff options
author | Diego Biurrun | 2011-06-06 01:25:32 +0200 |
---|---|---|
committer | Diego Biurrun | 2011-06-07 13:20:58 +0200 |
commit | 02a8d43adf7063bda2d20039d3e9b19d8469fe69 (patch) | |
tree | 9622ed1572a90f7d1df83d2c791694b089724fea /libavformat | |
parent | 1f6b9cc31d086860c7a7887685bed321fe3843f4 (diff) |
Replace some av_log/printf + #ifdef combinations by av_dlog.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 6c3c95caa2..3aec86ceb1 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -23,7 +23,6 @@ #include <limits.h> //#define DEBUG -//#define DEBUG_METADATA //#define MOV_EXPORT_ALL_METADATA #include "libavutil/intreadwrite.h" @@ -210,11 +209,9 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom) av_metadata_set2(&c->fc->metadata, key2, str, 0); } } -#ifdef DEBUG_METADATA - av_log(c->fc, AV_LOG_DEBUG, "lang \"%3s\" ", language); - av_log(c->fc, AV_LOG_DEBUG, "tag \"%s\" value \"%s\" atom \"%.4s\" %d %lld\n", - key, str, (char*)&atom.type, str_size, atom.size); -#endif + av_dlog(c->fc, "lang \"%3s\" ", language); + av_dlog(c->fc, "tag \"%s\" value \"%s\" atom \"%.4s\" %d %"PRId64"\n", + key, str, (char*)&atom.type, str_size, atom.size); return 0; } |