[FFmpeg-devel] Calling avformat_find_stream_info() more than once

Scott Theisen scott.the.elm at gmail.com
Tue Feb 11 04:20:24 EET 2025


Hello all,

avformat_find_stream_info() calls av_freep() on FFStream::info, which 
will cause a segmentation fault if it is called more than once on the 
same AVFormatContext (assuming it still has at least one of the 
AVStreams from when it was called previously).

Is this intentional and should this be documented?

Thanks,

Scott Theisen


More information about the ffmpeg-devel mailing list