diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-05-29 18:45:59 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-05-29 18:45:59 +0200 |
commit | a24f42fed5ffe89e6af38b6139ed93e46ea15411 (patch) | |
tree | cb3d984f0fa6834ba0244439ca34896d457d1a16 | |
parent | ff9e139950744f8d5b2fab434079e6d20ea6b678 (diff) | |
download | xine-lib-a24f42fed5ffe89e6af38b6139ed93e46ea15411.tar.gz xine-lib-a24f42fed5ffe89e6af38b6139ed93e46ea15411.tar.bz2 |
Print the invalid header flags when found.
-rw-r--r-- | src/demuxers/id3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/id3.c b/src/demuxers/id3.c index b707166b6..e5d767b1e 100644 --- a/src/demuxers/id3.c +++ b/src/demuxers/id3.c @@ -379,7 +379,7 @@ int id3v22_parse_tag(input_plugin_t *input, if (tag_header.flags & ID3V22_ZERO_FLAG) { /* invalid flags */ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, - "id3: invalid header flags\n"); + "id3: invalid header flags (%02x)\n", tag_header.flags); input->seek (input, tag_header.size - pos, SEEK_CUR); return 0; } @@ -573,7 +573,7 @@ int id3v23_parse_tag(input_plugin_t *input, if (tag_header.flags & ID3V23_ZERO_FLAG) { /* invalid flags */ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, - "id3: invalid header flags\n"); + "id3: invalid header flags (%02x)\n", tag_header.flags); input->seek (input, tag_header.size - pos, SEEK_CUR); return 0; } @@ -824,7 +824,7 @@ int id3v24_parse_tag(input_plugin_t *input, if (tag_header.flags & ID3V24_ZERO_FLAG) { /* invalid flags */ xprintf(stream->xine, XINE_VERBOSITY_DEBUG, - "id3: invalid header flags\n"); + "id3: invalid header flags (%02x)\n", tag_header.flags); input->seek (input, tag_header.size - pos, SEEK_CUR); return 0; } |