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 4968d62..2968af3 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -597,7 +597,11 @@ int read_bmp_fd(int fd, totalsize = BM_SIZE(bm->width,bm->height,format,remote); if(return_size) + { + if(resize) + totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); return totalsize; + } /* Check if this fits the buffer */ if (totalsize > maxsize) { |