• David Goldwich's avatar
    id3v2: add support for non-text and GEOB type tag frames · 7a019dff
    David Goldwich authored
    This extends the ID3v2 parser to allow for reading of non-text (i.e.
    other than T***) meta tag frames providing a ff_id3v2_read_all()
    function. An additional data structure 'ID3v2ExtraMeta' is introduced
    for these tags since AVDictionary is string oriented and unsuitable
    for binary data.
    
    A parser for tag frames of type GEOB is implemented, which is needed
    to extract keyring information from encrypted OMA files. GEOB data
    is parsed into 'ID3v2ExtraMetaGEOB' data structures.
    
    The routine to decode characters from different encodings to UTF-8,
    formerly part of the read_ttag() function, is moved to its own
    function. Because some tag frames contain subparts of unknown length,
    the function is now also able to read until a null character is found.
    In addition, the function now takes care of allocating a buffer long
    enough to hold the decoded characters.
    Signed-off-by: 's avatarDavid Goldwich <david.goldwich@gmail.com>
    Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
    7a019dff
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
avconv.c Loading commit data...
avplay.c Loading commit data...
avprobe.c Loading commit data...
avserver.c Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...