diff options
author | Peter Ross <pross@xvid.org> | 2014-04-18 14:49:40 +1000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-19 13:28:22 +0200 |
commit | 7f8aa37bc3666d060b3eb2baa02fcea3597a22fd (patch) | |
tree | 94709dcb2b847cd5255b3ca347b0d04aebda846a /libavformat/rsoenc.c | |
parent | 5219e20d58e15305e188ba60a75bfc37a1f82341 (diff) | |
download | ffmpeg-7f8aa37bc3666d060b3eb2baa02fcea3597a22fd.tar.gz |
ff_id3v2_read: add option to limit ID3 magic number search
Several chunked formats (AIFF, IFF,DSF) store ID3 metadata within an 'ID3 '
chunk tag. If such chunks are stored sequentially, it is possible for the
ID3v2 parser to confuse the chunk tag for the ID3 magic number. e.g.
[1st chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...]
[2nd chunk tag ('ID3 ') | chunk size] [ID3 magic number | metadata ...]
Fixes ticket #3530.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5331773cc33ba26b9e26ace643d926219e46a17b)
Conflicts:
libavformat/dsfdec.c
libavformat/id3v2.c
Diffstat (limited to 'libavformat/rsoenc.c')
0 files changed, 0 insertions, 0 deletions