<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div><br></div><div><br></div><div id="Zm-_Id_-Sgn"><div>Hello,<br></div><div><br></div><div>Yes, I am using java JNA wrapper around the ffmpeg library. My application is in java and I am using ffmpeg c library for writing audio-video RTP streams into a webm file. As far as I know, there is no issue on java side. And, I am not freeing any pointers before calling av_write_trailer(). </div><div><br></div><div>Regards,<br></div><div>Ravi Kiran B S<br></div></div><div class="zmail_extra"><div id="Zm-_Id_-Sgn1"><div><br></div><div>---- On Tue, 05 Dec 2017 09:34:43 +0530 <b>Shu Wang <halfelf.ronin@gmail.com></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div dir="ltr"><div>I can't see why there is a java error for a c library. Maybe you're using some java wrapper for ffmpeg, which throwing the error?<br></div></div><div><div><br></div><div><div>On Mon, Dec 4, 2017 at 6:06 PM, <a href="http://ravikiran.bs">ravikiran.bs</a> <span><<a href="mailto:ravikiran.bs@zohocorp.com">ravikiran.bs@zohocorp.com</a>></span> wrote:<br></div><div><br></div></div><div><br></div><div><br></div><div><br></div><div>-- <br></div><div><div dir="ltr"><div>Shu. Wang @ Bestminr<br></div><div><a href="http://halfelf.me">http://halfelf.me</a><br></div></div></div></div><div>_______________________________________________<br></div><div>Libav-user mailing list<br></div><div><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br></div><div><a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a><br></div></div><blockquote style="margin: 0 0 0 0.8ex; border-left: 1px rgb(204, 204, 204) solid; padding-left: 1ex"><div><u></u><br></div><div><div style="font-size: 10pt; font-family: Verdana, Arial, Helvetica, sans-serif"><div><br></div><div><br></div><div><div>Hello,<br></div><div><br></div><div>I am using libavformat to mux audio and video streams obtained in RTP into a webm file. But while closing the file, I call av_write_trailer() which throws the error :<br></div><div><br></div><div>"java(1128,0x700003430000) malloc: *** error for object 0x7fafa4068a00: pointer being freed was not allocated"<br></div><div><br></div><div>I haven't freed any modules before calling av_write_trailer() method. Am I missing something here ? Please help.<br></div><div><br></div><div>Thank You.<br></div><div><br></div><div>Regards,<br></div><div>Ravi Kiran B S<br></div><div><br></div></div></div><div><br></div></div><div><br></div><div>_______________________________________________<br></div><div> Libav-user mailing list<br></div><div> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br></div><div> <a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a><br></div><div> <br></div></blockquote></blockquote></div><div><br></div></div><br></body></html>