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

2025-02-10 Thread Andreas Rheinhardt
Scott Theisen: > 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 t

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

2025-02-10 Thread Scott Theisen
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