Fixes ticket #4003 --- libavformat/id3v2.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 5469e0a..d3dc647 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -732,10 +732,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata, if (avio_read(pb, tag, 4) < 4) break; tag[4] = 0; - if (version == 3) { - tlen = avio_rb32(pb); - } else - tlen = get_size(pb, 4); + tlen = avio_rb32(pb); tflags = avio_rb16(pb); tunsync = tflags & ID3v2_FLAG_UNSYNCH; } else { -- 2.1.0.127.g0c72b98 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel