On Mon, 29 Sep 2014 20:31:49 -0400
Marcus Johnson <[email protected]> wrote:

> 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.

av_samples_fill_arrays() does the same thing. It doesn't take an
AVFrame directly, so you still have to do something manually.

I wonder why you need a single buffer, though...
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to