Michael Niedermayer wrote: > Reimar D?ffinger wrote: > >> + rc4 = av_malloc(av_rc4_size); > > uint8_t rc4v[av_rc4_size]; > struct AVRC4 *rc4= (void*)rc4v; Because allocation on the stack is expected to be faster than allocation on the heap? Would it make sense to use platform-dependent routines, such as alloca? -- Regards.