summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-26 12:17:34 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-26 12:17:34 +0200
commit4d1ba6ec2ff6d48cc984380f58560dd47ff7b392 (patch)
tree9f9fec2ab4c44aeeba18c854b6570a7bab526f09
parentd05fffb8dbb1bdaa4fca641f347eff8747945838 (diff)
downloadlibufodecode-4d1ba6ec2ff6d48cc984380f58560dd47ff7b392.tar.gz
libufodecode-4d1ba6ec2ff6d48cc984380f58560dd47ff7b392.tar.bz2
libufodecode-4d1ba6ec2ff6d48cc984380f58560dd47ff7b392.tar.xz
libufodecode-4d1ba6ec2ff6d48cc984380f58560dd47ff7b392.zip
Undo last commit
-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);