diff options
-rw-r--r-- | src/ufodecode.c | 4 | ||||
-rw-r--r-- | test/ipedec.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c index cfd9846..b03eb16 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -303,6 +303,10 @@ ufo_decode_frame_channels_v6 (UfoDecoder *decoder, uint16_t *pixel_buffer, uint3 #endif base += 6; + + if ((raw[base] & 0xFF000000) == 0xC0000000) { + base += 8; + } } return base; diff --git a/test/ipedec.c b/test/ipedec.c index 5099ff3..42a856c 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -8,7 +8,7 @@ #include <ufodecode.h> #include "timer.h" -static const int MAX_ROWS = 3841; +static const int MAX_ROWS = 3842; typedef struct { int clear_frame; |