After adding code to free memory manually, just before calling av_free_packet(), basically I added the same code as in av_destruct_pkt(). But to my surprise I'm getting a crash in av_interleaved_write_frame for video till now video was working fine. I'm writing video and audio frame sequentially and I'm using sperate AVPackets and AVFrames for both audio and video. There is no shared data between audio and video except AVFormatContext which is global. Please someone suggest what could be going wrong.
Thanks and Regards, Pradeep -- View this message in context: http://libav-users.943685.n4.nabble.com/Audio-encoding-using-avcodec-fill-audio-frame-and-memory-leaks-tp4657623p4657627.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
