<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-02-05 10:52 GMT+02:00 林其益 <span dir="ltr"><<a href="mailto:antony.lin@topviewcorp.com" target="_blank">antony.lin@topviewcorp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="ZH-TW">
<div>
<p class="MsoNormal"><span lang="EN-US">Dear Libav:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">...<br></span></p>
<p class="MsoNormal"><span lang="EN-US"> 2. Could I allocate my own memory to
the data[] array to AVFrame (not allocate by the ffmpeg library)?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">......</span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif";color:rgb(51,51,51)" lang="EN-US">Best Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif";color:rgb(51,51,51)" lang="EN-US">Antony Lin<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">You need to read comment for AVCodecContext::get_buffer2<br></div><div class="gmail_extra">You set this handler to allocate AVFrame memory instead of default handler.<br><br></div></div>