From 789fdb4d9afb79230acedb7d4a347ec7e6af0ca3 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sat, 16 Jan 2016 08:47:09 +0100 Subject: [PATCH] Remove the footer sample for the F10 and F11. The F10 and F11 don't seem to have a special footer sample after the profile data. Those 8 bytes appear to be valid sample data. --- src/oceanic_atom2_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oceanic_atom2_parser.c b/src/oceanic_atom2_parser.c index 49cf13d..d52b379 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -154,10 +154,10 @@ oceanic_atom2_parser_create (dc_parser_t **out, dc_context_t *context, unsigned parser->headersize -= 2 * PAGESIZE; } else if (model == F10) { parser->headersize = 3 * PAGESIZE; - parser->footersize = PAGESIZE / 2; + parser->footersize = 0; } else if (model == F11A || model == F11B) { parser->headersize = 5 * PAGESIZE; - parser->footersize = PAGESIZE / 2; + parser->footersize = 0; } else if (model == A300CS || model == VTX) { parser->headersize = 5 * PAGESIZE; }