[Libav-user] avformat_find_stream_info memory leak

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Aug 27 16:33:33 CEST 2012

What you posted second time looks sane as is.
There sometimes happen a leak here and there, including
avformat_find_stream_info(), but not such to be named as "strong". It
can be more chances your usage of API introduces leak.
What i'd advice is to check your whole app with Valgrind memory
debugger. Valgrind will show you exact places of leak.
If you cannot eliminate leaks in your application in such way, then
make up minimal app that uses ffmpeg API _the same way your app does_,
that reproduces the same valgrind output, and publish it in this

Andrey Utkin

More information about the Libav-user mailing list