]> git.sesse.net Git - ffmpeg/commit
apetag: account for header size if present when returning the start position
authorJames Almer <jamrial@gmail.com>
Fri, 10 Feb 2017 23:24:27 +0000 (20:24 -0300)
committerAnton Khirnov <anton@khirnov.net>
Sat, 25 Feb 2017 08:57:44 +0000 (09:57 +0100)
commit4cc0227040adb9efc63be6a5765e3214f5c6f662
tree357b33fa876fad5ae2c61391fe63c822d11a5967
parent3f258f5ee05c9da05f61447b802ae3e39629f44b
apetag: account for header size if present when returning the start position

The size field in the header/footer accounts for the entire APE tag
structure except the 32 bytes from header, for compatibility with
APEv1.

Signed-off-by: James Almer <jamrial@gmail.com>
CC: libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/apetag.c