Remove incorrect APE tag size adjustment based on flags.
authorMatti Hamalainen <(mhamalai@students.oamk.fi>
Tue, 11 Aug 2009 16:43:44 +0000 (16:43 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 11 Aug 2009 16:43:44 +0000 (16:43 +0000)
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

libavformat/ape.c

index fac9678..e1a8954 100644 (file)
@@ -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++)