[FFmpeg-devel] [PATCH]Support pal8 in x11grab
Paul B Mahol
onemda at gmail.com
Wed Oct 23 16:51:01 CEST 2013
On 10/23/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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
>> >> 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 with
> av_malloc() because I am not sure how much data on
> the stack we allow.
Yes, I already 'guessed' it, thus mentioned private context.
More information about the ffmpeg-devel