[FFmpeg-devel] MPADecodeContext on stack
Andreas Öman
andreas
Thu Feb 5 11:02:12 CET 2009
M?ns Rullg?rd wrote:
> You believe correctly. Here's a list of stack offenders on ARM:
>
> 262144 ff_mjpeg_decode_sos mjpegdec.c:886
This one seem to originate from
uint16_t buffer[32768][4];
in
ljpeg_decode_rgb_scan()
Perhaps i'm missing something, but can not the two
for(mb_x = 0; mb_x < s->mb_width; mb_x++) -loops just be merged
and [32768] be removed?
I don't have any lossless RGB JPEGs available to test with.
More information about the ffmpeg-devel
mailing list