diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-05-03 07:02:09 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-05-03 07:02:09 +0000 |
commit | ad031e903cc852379a8ecceff3d10d9e71bf6355 (patch) | |
tree | b01db6daeeba6606e7983e4111e905e245ee888a /apps | |
parent | a4c428114cb55404b5e2eff81f0bf929e27492b2 (diff) | |
download | rockbox-ad031e903cc852379a8ecceff3d10d9e71bf6355.tar.gz rockbox-ad031e903cc852379a8ecceff3d10d9e71bf6355.zip |
Make local function static in jpeg_load.c, add missing header file in read_image.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20848 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lib/read_image.c | 1 | ||||
-rw-r--r-- | apps/recorder/jpeg_load.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lib/read_image.c b/apps/plugins/lib/read_image.c index 0420ed8188..8b6d784213 100644 --- a/apps/plugins/lib/read_image.c +++ b/apps/plugins/lib/read_image.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <plugin.h> | 24 | #include <plugin.h> |
25 | #include "feature_wrappers.h" | 25 | #include "feature_wrappers.h" |
26 | #include "read_image.h" | ||
26 | 27 | ||
27 | int read_image_file(const char* filename, struct bitmap *bm, int maxsize, | 28 | int read_image_file(const char* filename, struct bitmap *bm, int maxsize, |
28 | int format, const struct custom_format *cformat) | 29 | int format, const struct custom_format *cformat) |
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c index d05671cb09..8b2c3f2fef 100644 --- a/apps/recorder/jpeg_load.c +++ b/apps/recorder/jpeg_load.c | |||
@@ -1689,7 +1689,7 @@ INLINE int huff_decode_ac(struct jpeg *p_jpeg, struct derived_tbl* tbl) | |||
1689 | return s; | 1689 | return s; |
1690 | } | 1690 | } |
1691 | 1691 | ||
1692 | struct img_part *store_row_jpeg(void *jpeg_args) | 1692 | static struct img_part *store_row_jpeg(void *jpeg_args) |
1693 | { | 1693 | { |
1694 | struct jpeg *p_jpeg = (struct jpeg*) jpeg_args; | 1694 | struct jpeg *p_jpeg = (struct jpeg*) jpeg_args; |
1695 | unsigned int width = p_jpeg->x_mbl << p_jpeg->h_scale[1]; | 1695 | unsigned int width = p_jpeg->x_mbl << p_jpeg->h_scale[1]; |