1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: apps/recorder/jpeg_load.c
===================================================================
--- apps/recorder/jpeg_load.c  (revision 29276)
+++ apps/recorder/jpeg_load.c  (working copy)
@@ -2230,6 +2230,7 @@
     return 0;
 }

+#ifndef JPEG_FROM_MEM
 int read_jpeg_fd(int fd,
                  struct bitmap *bm,
                  int maxsize,
@@ -2238,5 +2239,6 @@
 {
     return clip_jpeg_fd(fd, 0, bm, maxsize, format, cformat);
 }
+#endif

 /**************** end JPEG code ********************/