OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58b9fa
)
id3v2: don't explicitly skip padding
author
Anton Khirnov
<anton@khirnov.net>
Tue, 22 Mar 2011 09:35:34 +0000
(10:35 +0100)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 22 Mar 2011 13:08:59 +0000
(09:08 -0400)
It's pointless, since there's a seek to the end of tag later.
libavformat/id3v2.c
patch
|
blob
|
history
diff --git
a/libavformat/id3v2.c
b/libavformat/id3v2.c
index
13272a4
..
96f3e1c
100644
(file)
--- a/
libavformat/id3v2.c
+++ b/
libavformat/id3v2.c
@@
-279,10
+279,6
@@
static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t
avio_seek(s->pb, next, SEEK_SET);
}
- if (len > 0) {
- /* Skip padding */
- avio_skip(s->pb, len);
- }
if (version == 4 && flags & 0x10) /* Footer preset, always 10 bytes, skip over it */
end += 10;