Hi Wodzu. >From the ffmeg docs about avformat_find_stream_info(): - Read packets of a media file to get stream information. - The logical file position is not changed by this function; examined packets may be buffered for later processing.
* Read packets of a media file to get stream information. I can see you are using a cusmom io_context, maybe the leak is there. * The logical file position is not changed by this function; examined packets may be buffered for later processing. I haven't checked, but the expected thing for avformat_close_input() would be to correctly release the memory of the buffered packets, even if not read. Hope this is helpful.
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with subject "unsubscribe".