Thanks for the quick reply.
> It's fine, but you do want to use ffio_ensure_seekback() to guarantee
> success, preferably calling it at just the moment the stream is at the
> position you're planning on rewinding back to.
I realized that ffio_ensure_seekback() won't be enough because the
seekback amount is unknown. So it sounds like the codebook data needs to
be copied somewhere for later use.
Would it be OK to stash a bit over 2 MiB buffer in WsVqaDemuxContext and
copy the chunk data there? It would then be freed along with other
demuxer private data and wouldn't leak.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".