Avoid using BSS variables in jpeg.c.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 30 Jul 2010 16:27:14 +0000 (12:27 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 30 Jul 2010 16:27:14 +0000 (12:27 -0400)
commit2976dd4204405cd9b1296732a5a7ad6d67d8dd73
treefdc4318e24ea7be4fccac69efd4c64c1a531c630
parentcc9e1bf4336696340330010d59028e3b8fb9aa7d
Avoid using BSS variables in jpeg.c.

Using BSS increases the rom size (and reduce space for option roms).
So, move BSS variables in the jpeg.c code to malloc'd memory.

Also, move struct and error declarations from jpeg.h to jpeg.c.
src/bootsplash.c
src/jpeg.c
src/jpeg.h