OSDN Git Service

avformat/apetag: account for header size if present when returning the start position
authorJames Almer <jamrial@gmail.com>
Fri, 10 Feb 2017 04:24:27 +0000 (01:24 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 10 Feb 2017 21:33:29 +0000 (18:33 -0300)
commit84d874a680ff647bc84de44967b638f246a8b832
treebecb9a8bc52e046926c0d368cab60505f82075ad
parente8d6fef3161f35878f8e0abf9d27d2c45a5d40b6
avformat/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.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/apetag.c
libavformat/apetag.h