summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/jpeg_load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c
index eccd781f9b..154a57b98c 100644
--- a/apps/recorder/jpeg_load.c
+++ b/apps/recorder/jpeg_load.c
@@ -944,8 +944,9 @@ static int process_markers(struct jpeg* p_jpeg)
944 int ret = 0; /* returned flags */ 944 int ret = 0; /* returned flags */
945 bool done = false; 945 bool done = false;
946 946
947 while (!done && (c = e_getc(p_jpeg, -1))) 947 while (!done)
948 { 948 {
949 c = e_getc(p_jpeg, -1);
949 if (c != 0xFF) /* no marker? */ 950 if (c != 0xFF) /* no marker? */
950 { 951 {
951 JDEBUGF("Non-marker data\n"); 952 JDEBUGF("Non-marker data\n");