avformat: fix id3 chapters
authorLukas Stabe <lukas@stabe.de>
Thu, 5 Oct 2017 01:34:19 +0000 (03:34 +0200)
committerwm4 <nfxjfg@googlemail.com>
Thu, 5 Oct 2017 15:10:23 +0000 (17:10 +0200)
commit1fd80106be3dca9fa0ea13fb364c8d221bd27c15
treee820d55b354b49746bbf46f62860de7d20ed8d19
parentcafd9d66ed9e1bad4ae579a3935f7af57a567a51
avformat: fix id3 chapters

These changes store id3 chapter data in ID3v2ExtraMeta and introduce
ff_id3v2_parse_chapters to parse them into the format context if needed.

Encoders using ff_id3v2_read, which previously parsed chapters into the
format context automatically, were adjusted to call
ff_id3v2_parse_chapters.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
libavformat/aiffdec.c
libavformat/asfdec_f.c
libavformat/asfdec_o.c
libavformat/dsfdec.c
libavformat/id3v2.c
libavformat/id3v2.h
libavformat/iff.c
libavformat/omadec.c
libavformat/utils.c