From e0efa9bad52b990071fc3f4d713d8143935ad4bf Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 13 Aug 2015 15:08:14 +0200 Subject: Do not check magic4 in version 6 This is now becoming a valid data field itself. --- src/ufodecode.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ufodecode.c') diff --git a/src/ufodecode.c b/src/ufodecode.c index b03eb16..b72726b 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -424,7 +424,6 @@ ufo_decoder_decode_frame (UfoDecoder *decoder, uint32_t *raw, size_t num_bytes, const header_v6_t *header = (header_v6_t *) &raw[pos + 1]; CHECK_VALUE (header->magic_2, 0x52222222); CHECK_VALUE (header->magic_3, 0x53333333); - CHECK_VALUE (header->magic_4, 0x54444444); dataformat_version = header->dataformat_version; -- cgit v1.2.3