A patch series adding seek support to libavformat/aadec. This fourth version of the series addresses some more comments from the mailing list:
Patch 2/3 now uses avpriv_set_pts_info(). Otherwise, it is still based on skipping through the content to collect chapter boundaries. This is not optimal, but the actual aa "index" is not understood well enough to be usable at this time. Patch 3/3 was completely reworked; it does not scan for mp3 headers anymore, which was unreliable and broke the separation of demuxer and codec. It now simply predicts the header offset, which works for the majority of tested audio material, while the effect on rare divergent material is negligible. Karsten Otto (3): aadec: improve eof detection aadec: add chapters and seeking aadec: improve seeking in mp3 content libavformat/aadec.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 106 insertions(+), 7 deletions(-) -- 2.14.3 (Apple Git-98) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel