Commit 22667e40 authored by Matti Hamalainen's avatar Matti Hamalainen Committed by Kostya Shishkov

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
parent ffd38d8b
...@@ -158,9 +158,6 @@ static void ape_parse_tag(AVFormatContext *s) ...@@ -158,9 +158,6 @@ static void ape_parse_tag(AVFormatContext *s)
return; return;
} }
if (val & APE_TAG_FLAG_CONTAINS_HEADER)
tag_bytes += 2*APE_TAG_FOOTER_BYTES;
url_fseek(pb, file_size - tag_bytes, SEEK_SET); url_fseek(pb, file_size - tag_bytes, SEEK_SET);
for (i=0; i<fields; i++) for (i=0; i<fields; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment