<div dir="ltr">On Mon, Jan 14, 2013 at 6:06 PM, David Longest <span dir="ltr"><<a href="mailto:david.longest@apx-labs.com" target="_blank">david.longest@apx-labs.com</a>></span> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I just tried creating an AVFrame and setting the pixel format to PIX_FMT_YUV420P while still providing NV21 data. When passing this frame to avcodec_encode_video2, I will still get the crash unless I allocate the input packet's data field beforehand. </blockquote>
<div><br></div><div>Please post your source code, if possible - the minimal crashing example. Make sure you use the latest version of fffmpeg libraries. What is your platform and compiler?</div><div><br></div><div>BR,</div>
<div>Alex</div></div></div>