summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/jpeg_load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c
index cd13934921..a02386f76f 100644
--- a/apps/recorder/jpeg_load.c
+++ b/apps/recorder/jpeg_load.c
@@ -2230,6 +2230,7 @@ int clip_jpeg_fd(int fd,
return 0;
}
+#ifndef JPEG_FROM_MEM
int read_jpeg_fd(int fd,
struct bitmap *bm,
int maxsize,
@@ -2238,5 +2239,6 @@ int read_jpeg_fd(int fd,
{
return clip_jpeg_fd(fd, 0, bm, maxsize, format, cformat);
}
+#endif
/**************** end JPEG code ********************/