summaryrefslogtreecommitdiff
path: root/libavformat/ape.c
diff options
context:
space:
mode:
authorMatti Hamalainen <(mhamalai@students.oamk.fi>2009-08-11 16:43:44 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-08-11 16:43:44 +0000
commit22667e40beec2a726c996bb0ba949434c7b260d5 (patch)
tree0f3cd400839deb78ed25369499c1d3cd72bdc7ec /libavformat/ape.c
parentffd38d8b64f02ef4f86b974ab6a421c86d6127e9 (diff)
Remove incorrect APE tag size adjustment based on flags.
Patch by Matti Hamalainen (mhamalai <luona> students <piste> oamk <piste> 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
Diffstat (limited to 'libavformat/ape.c')
-rw-r--r--libavformat/ape.c3
1 files changed, 0 insertions, 3 deletions
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<fields; i++)