From f332137b44472905f173b0717054bd48e8cfc33f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 9 Dec 2011 12:01:16 +0100 Subject: Fill channel mask --- src/ufodecode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ufodecode.c b/src/ufodecode.c index 65ffec0..d65ad32 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -123,6 +123,8 @@ static int ufo_decode_frame(ufo_decoder decoder, uint16_t *pixel_buffer, uint16_ if ((row > num_rows)||(channel > cpl)||(pixels>IPECAMERA_PIXELS_PER_CHANNEL)) return EILSEQ; + + if (cmask) cmask[row] |= (1<