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().
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
