jpegdec: don't allocate big arrays on the stack
authorStefan Kost <ensonic@users.sf.net>
Tue, 3 Nov 2009 15:35:15 +0000 (17:35 +0200)
committerStefan Kost <ensonic@users.sf.net>
Tue, 3 Nov 2009 15:49:24 +0000 (17:49 +0200)
commite3e910e971141c6ee88c0dbb802469bf81855e12
tree0ffbb05ede8ffe283e5cba7091f22dabdc2bbf05
parent65a1db99eb559064a5628e7dfbd9a32e4b56e08b
jpegdec: don't allocate big arrays on the stack

Add the arrays to the instance data and allocate on first use.
ext/jpeg/gstjpegdec.c
ext/jpeg/gstjpegdec.h