diff options
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index b33c0a329d..352b2f47b1 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -215,13 +215,6 @@ int read_bmp_file(char* filename, | |||
215 | } | 215 | } |
216 | 216 | ||
217 | height = readlong(&bmph.height); | 217 | height = readlong(&bmph.height); |
218 | if (height > LCD_HEIGHT) { | ||
219 | DEBUGF("read_bmp_file: Bitmap too high (%d pixels, max is %d)\n", | ||
220 | height, LCD_HEIGHT); | ||
221 | close(fd); | ||
222 | return -5; | ||
223 | } | ||
224 | |||
225 | depth = readshort(&bmph.bit_count); | 218 | depth = readshort(&bmph.bit_count); |
226 | padded_width = ((width * depth + 31) >> 3) & ~3; /* 4-byte boundary aligned */ | 219 | padded_width = ((width * depth + 31) >> 3) & ~3; /* 4-byte boundary aligned */ |
227 | 220 | ||