Sorry in the above code
I've replaced
if(out_vid_codec_ctx) {avcodec_close(out_vid_codec_ctx);}
with
if(out_vid_strm->codec) {avcodec_close(out_vid_strm->codec);}
Still no use. Any suggestion?
Thanks
Pradeep
--
View this message in context:
http://libav-users.943685.n4.nabble.com/Memory-leak-while-adding-new-streams-tp4657663p4657665.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