diff options
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index a9cc34b2c6..8d49fd7582 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -600,9 +600,7 @@ int read_bmp_fd(int fd, | |||
600 | resize &= ~IMG_RESIZE; | 600 | resize &= ~IMG_RESIZE; |
601 | resize |= IMG_NORESIZE; | 601 | resize |= IMG_NORESIZE; |
602 | #endif | 602 | #endif |
603 | #ifdef HAVE_REMOTE_LCD | ||
604 | remote = false; | 603 | remote = false; |
605 | #endif | ||
606 | } | 604 | } |
607 | #elif !defined(PLUGIN) | 605 | #elif !defined(PLUGIN) |
608 | if (src_dim.width > BM_MAX_WIDTH) | 606 | if (src_dim.width > BM_MAX_WIDTH) |
@@ -652,9 +650,7 @@ int read_bmp_fd(int fd, | |||
652 | totalsize = cformat->get_size(bm); | 650 | totalsize = cformat->get_size(bm); |
653 | else { | 651 | else { |
654 | totalsize = BM_SIZE(bm->width,bm->height,format,remote); | 652 | totalsize = BM_SIZE(bm->width,bm->height,format,remote); |
655 | #ifdef HAVE_REMOTE_LCD | ||
656 | if (!remote) | 653 | if (!remote) |
657 | #endif | ||
658 | if (depth == 32 && read_alpha) /* account for possible 4bit alpha per pixel */ | 654 | if (depth == 32 && read_alpha) /* account for possible 4bit alpha per pixel */ |
659 | totalsize += alphasize; | 655 | totalsize += alphasize; |
660 | } | 656 | } |