<div dir="ltr"><div class="gmail_default" style="font-size:large">I'm trying to decode audio using libavformat and codec, it's working fine so far, but I'm having trouble getting the decoded buffer into a single array to hold all samples, I read that there's a function called avpicture_layout, and that's basically exactly what I need, except it's for AVPicture, and I need it for AVFrame, what do I do? I see nothing like that in the docs.</div></div>