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