summaryrefslogtreecommitdiffstats
path: root/src/ufodecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ufodecode.c')
-rw-r--r--src/ufodecode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c
index ae5d8e3..635f397 100644
--- a/src/ufodecode.c
+++ b/src/ufodecode.c
@@ -159,6 +159,7 @@ ufo_decode_frame_channels_v0(UfoDecoder *decoder,
#ifdef CHECKS
int header = (info >> 30) & 0x03;
const int bpp = (info >> 16) & 0x0F;
+ int err;
CHECK_FLAG("raw header magick", header == 2, header);
CHECK_FLAG("row number, only %i rows requested", row < num_rows, row, num_rows);
CHECK_FLAG("pixel size, only 10 bits are supported", bpp == 10, bpp);