[FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

Hendrik Leppkes h.leppkes at gmail.com
Thu Sep 24 10:09:45 CEST 2015


On Thu, Sep 24, 2015 at 9:08 AM, Ching-Yi Chan <chingyichan.tw at gmail.com> wrote:
> flacdec is not supported fast-seek yet.
>
> changes:
>
> 1. parse the seekpoint from metadata block
> 2. add seek callback to look up seek position
>

You should store the index in the AVStream index_entries field, that
way you don't need to duplicate the structure in the private flac
context, and the generic seeking code can make use of them without you
needing a specialized seekign function.

- Hendrik


More information about the ffmpeg-devel mailing list