[Libav-user] is it possible to reuse buffer in AVFrame?

Atela Wu amankjan at gmail.com
Wed Oct 8 05:33:10 CEST 2014


frame = av_frame_alloc();
while(1) {
      avcodec_decode_video2(frame) or avcodec_decode_audio4(frame);
}

after decode all the packet,then i call av_frame_unref or some free
function to frame??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141008/f7bf59b5/attachment.html>


More information about the Libav-user mailing list