I just hit a bug, where a stream could be opened with avformat_open_input, but ffmpeg can't read stream information (avformat_find_stream_info fails). avformant_open_input, on failure, cleans up AVFormatContext, but avformat_find_stream_info does not, which leaves hanging AVFormantContext's in memory.
I just hit a bug, where a stream could be opened with avformat_open_input, but ffmpeg can't read stream information (avformat_find_stream_info fails). avformant_open_input, on failure, cleans up AVFormatContext, but avformat_find_stream_info does not, which leaves hanging AVFormantContext's in memory.