[FFmpeg-devel] [PATCH]Support pal8 in x11grab
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Oct 23 16:40:23 CEST 2013
Paul B Mahol <onemda <at> gmail.com> writes:
> On 10/23/13, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
> > Michael Niedermayer <michaelni <at> gmx.at> writes:
> >
> >> XColor color[256]
> >> would avoid the malloc, cheking and free
> >
> > What is a sensible limit?
>
> You could put it into x11grab private context.
It is only used once, I don't think this would be
a simplification.
I replaced (my original) XColor color[256] with
av_malloc() because I am not sure how much data on
the stack we allow.
Carl Eugen
More information about the ffmpeg-devel
mailing list