[Libav-user] Cleaning AVFrame properly

Venkateswaran.S venketeswaran2015 at gmail.com
Mon Apr 1 17:05:39 EEST 2019


I'm using FFmpeg version 3.4.4.
Pease check the below code for your reference.

https://github.com/pockethook/player/blob/master/player.cpp#L104

Note : This code using unique_ptr and custom delete to call av_frame_free().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190401/10c569f2/attachment.html>


More information about the Libav-user mailing list