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.
This commit is contained in:
Jef Driesen 2016-01-16 08:47:09 +01:00
parent ca032783a2
commit 789fdb4d9a

View File

@ -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;
}