Yeah, I found that, thanks Brian.

-Tyler

On Tue, Jun 16, 2009 at 11:57 AM, Brian Brice <[email protected]> wrote:

> On Tue, Jun 16, 2009 at 12:10 PM, Tyler Laing<[email protected]> wrote:
> > I was wondering what is the best way to determine how much space to
> allocate
> > for an AVPicture's members, for use in sws_scale?
>
> I would use avpicture_alloc.  You pass in the dimensions and color
> space and it should allocate enough memory for you.  It even fills in
> the AVPicture members accordingly.
>
>
> --
> Brian Brice
> http://heapify.org/
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>



-- 
Visit my blog at http://oddco.ca/zeroth/zblog
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to