diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/bmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 4968d6221a..2968af35da 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -597,7 +597,11 @@ int read_bmp_fd(int fd, | |||
597 | totalsize = BM_SIZE(bm->width,bm->height,format,remote); | 597 | totalsize = BM_SIZE(bm->width,bm->height,format,remote); |
598 | 598 | ||
599 | if(return_size) | 599 | if(return_size) |
600 | { | ||
601 | if(resize) | ||
602 | totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); | ||
600 | return totalsize; | 603 | return totalsize; |
604 | } | ||
601 | 605 | ||
602 | /* Check if this fits the buffer */ | 606 | /* Check if this fits the buffer */ |
603 | if (totalsize > maxsize) { | 607 | if (totalsize > maxsize) { |