From 448300cc82966fa67407cf8392438813ee7c0a6e Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sat, 23 Oct 2010 23:01:49 +0200 Subject: [PATCH] Adjust the header size for the Oceanic Veo 3. --- src/oceanic_atom2_parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/oceanic_atom2_parser.c b/src/oceanic_atom2_parser.c index 709c5f8..6f93f60 100644 --- a/src/oceanic_atom2_parser.c +++ b/src/oceanic_atom2_parser.c @@ -209,6 +209,8 @@ oceanic_atom2_parser_samples_foreach (parser_t *abstract, sample_callback_t call if (parser->model == 0x4344 || parser->model == 0x4347 || parser->model == 0x4446 || parser->model == 0x4359) header -= PAGESIZE; + else if (parser->model == 0x435A) + header -= PAGESIZE / 2; if (size < header + 3 * PAGESIZE / 2) return PARSER_STATUS_ERROR;