From 22667e40beec2a726c996bb0ba949434c7b260d5 Mon Sep 17 00:00:00 2001 From: Matti Hamalainen <(mhamalai@students.oamk.fi> Date: Tue, 11 Aug 2009 16:43:44 +0000 Subject: Remove incorrect APE tag size adjustment based on flags. Patch by Matti Hamalainen (mhamalai students oamk fi) Thread: [PATCH] 1/6 Remove incorrect APE tag size adjustment based on flags Originally committed as revision 19627 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ape.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/ape.c') diff --git a/libavformat/ape.c b/libavformat/ape.c index fac967879a..e1a8954087 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -158,9 +158,6 @@ static void ape_parse_tag(AVFormatContext *s) return; } - if (val & APE_TAG_FLAG_CONTAINS_HEADER) - tag_bytes += 2*APE_TAG_FOOTER_BYTES; - url_fseek(pb, file_size - tag_bytes, SEEK_SET); for (i=0; i