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??
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to