[FFmpeg-devel] Westwood VQA3 demuxer additions

Pekka Väänänen pekka.vaananen at gmail.com
Tue Sep 21 19:07:50 EEST 2021


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.


More information about the ffmpeg-devel mailing list