Hi On 5 April 2010 09:11, david starkweather <[email protected]> wrote: > The problem is I cannot free the packets at the end of each > av_read_frame loop without getting double free or corruption heap > errors. Naturally, it will work if I replace av_free_packet() with > av_destruct_nofree, but nothing is free'd, leading to obvious memory > leaks. What is the proper way to free audio packets in this instance?
You say that when you free the packet, you get double free errors. You're suppressing one free ; then the other one is still happening no ? Why would you get leaks ? _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
