summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-08-13 15:08:14 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-08-13 15:08:14 +0200
commite0efa9bad52b990071fc3f4d713d8143935ad4bf (patch)
tree0f1e45c292f68b48813e387e6a02425ae899a3bd
parentf6a660be56b2c045f682ae4adddbed6ea6a5b2d9 (diff)
downloadlibufodecode-e0efa9bad52b990071fc3f4d713d8143935ad4bf.tar.gz
libufodecode-e0efa9bad52b990071fc3f4d713d8143935ad4bf.tar.bz2
libufodecode-e0efa9bad52b990071fc3f4d713d8143935ad4bf.tar.xz
libufodecode-e0efa9bad52b990071fc3f4d713d8143935ad4bf.zip
Do not check magic4 in version 6
This is now becoming a valid data field itself.
-rw-r--r--src/ufodecode.c1
1 files changed, 0 insertions, 1 deletions
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;