tif.c: allow strip_count 1 & specially handle; #191 clang-tidy warning

This commit is contained in:
gitlost 2020-05-06 19:57:27 +01:00
parent 4391fb6a1d
commit 4b049f7154
8 changed files with 178 additions and 16 deletions

View file

@ -81,6 +81,7 @@ static void test_pixel_plot(int index, int debug) {
symbol->bitmap_width = data[i].width;
symbol->bitmap_height = data[i].height;
symbol->debug |= debug;
int size = data[i].width * data[i].height;
assert_nonzero(size < (int) sizeof(data_buf), "i:%d gif_pixel_plot size %d < sizeof(data_buf) %d\n", i, size, (int) sizeof(data_buf));