diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2013-12-30 10:02:59 +0200 |
---|---|---|
committer | Anssi Hannula <anssi.hannula@iki.fi> | 2013-12-31 05:15:19 +0200 |
commit | 7fdf245ab9cb06b7195b8554e0b56f0835d1a142 (patch) | |
tree | e91badc5330c75886bd492ecfce3b43bd665d1ea /libavcodec/dirac_parser.c | |
parent | d52882faef368264f9fe5a595274ec84d3446132 (diff) | |
download | ffmpeg-7fdf245ab9cb06b7195b8554e0b56f0835d1a142.tar.gz |
avformat/id3v2: allow ID3 parsing without AVFormatContext
Add ff_id3v2_read_dict() for parsing without AVFormatContext, but
instead with AVIOContext and AVDictionary.
AVFormatContext is still used for logging, if available.
Chapter parsing is the only non-logging functionality that actually
needs AVFormatContext, and AFAICS it should be modified to write the
data to ID3v2ExtraMeta first, from where it can be implanted to
AVFormatContext by a separate function (like it is done with
read_apic() and ff_id3v2_parse_apic()). That is outside the scope of
this patch, though.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'libavcodec/dirac_parser.c')
0 files changed, 0 insertions, 0 deletions