[FFmpeg-cvslog] id3v2: print ver/flags/len on debug level.
Michael Niedermayer
git at videolan.org
Thu Nov 22 19:34:39 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 22 19:29:08 2012 +0100| [08e26e7f5c0caa0b056354ef8b5230f6893f0994] | committer: Michael Niedermayer
id3v2: print ver/flags/len on debug level.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08e26e7f5c0caa0b056354ef8b5230f6893f0994
---
libavformat/id3v2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 3b3cf79..82ed372 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -587,6 +587,8 @@ static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t
unsigned char *compressed_buffer = NULL;
int compressed_buffer_size = 0;
+ av_log(s, AV_LOG_DEBUG, "id3v2 ver:%d flags:%02X len:%d\n", version, flags, len);
+
switch (version) {
case 2:
if (flags & 0x40) {
More information about the ffmpeg-cvslog
mailing list