1
0
Fork 0
forked from len0rd/rockbox

Make array static const in apps/recorder/jpeg_load.c

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25500 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-04-06 19:37:41 +00:00
parent ea907b31ae
commit a9ffcb3516

View file

@ -843,7 +843,7 @@ struct idct_entry {
void (*h_idct)(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); void (*h_idct)(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
}; };
struct idct_entry idct_tbl[] = { static const struct idct_entry idct_tbl[] = {
{ PASS1_BITS, NULL, jpeg_idct1h }, { PASS1_BITS, NULL, jpeg_idct1h },
{ PASS1_BITS, jpeg_idct2v, jpeg_idct2h }, { PASS1_BITS, jpeg_idct2v, jpeg_idct2h },
{ 0, jpeg_idct4v, jpeg_idct4h }, { 0, jpeg_idct4v, jpeg_idct4h },