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

wm4 nfxjfg at googlemail.com
Fri Oct 2 16:06:46 CEST 2015


On Fri, 2 Oct 2015 21:56:22 +0800
Ching-Yi Chan <chingyichan.tw at gmail.com> wrote:

> I found the problem is no seektable in our test sample acodec-flac.flac,
> but application will append the new index entry to AVStream.
> 
> So, I need to a variable or some place to mark "no seektable, don't use
> fast-seek method", some choices:
> 
> 1. disable AVFMT_FLAG_FAST_SEEK flag when no seektable

Sounds ok.

> 2. use priv_class and keep the state in it
> 3. use a static varible to keep the state in flacdec.c

No global mutable state anywhere in the libs.

Also, please avoid:
https://en.wikipedia.org/wiki/Posting_style#Top-posting

(makes replies hard to read)


More information about the ffmpeg-devel mailing list