On Fri, 2 Oct 2015 21:56:22 +0800 Ching-Yi Chan <chingyichan...@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) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel