From 4e72fbb0aa074dc4130ce56af73f0b701da5b752 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 9 Aug 2021 19:18:01 +0200 Subject: [PATCH] mp4: Remove member moov_read of struct mp4ff. It is set but never read. --- mp4.c | 1 - mp4.h | 1 - 2 files changed, 2 deletions(-) diff --git a/mp4.c b/mp4.c index 7bef0d75..cdcfa651 100644 --- a/mp4.c +++ b/mp4.c @@ -1289,7 +1289,6 @@ static int32_t parse_atoms(mp4ff_t * f, int meta_only) f->last_atom = atom_type; if (atom_type == ATOM_MOOV && size > header_size) { - f->moov_read = 1; f->moov_offset = mp4ff_position(f) - header_size; f->moov_size = size; } diff --git a/mp4.h b/mp4.h index 2cf3071f..28cfbce4 100644 --- a/mp4.h +++ b/mp4.h @@ -78,7 +78,6 @@ typedef struct mp4ff_callback_t *stream; int64_t current_position; - int32_t moov_read; uint64_t moov_offset; uint64_t moov_size; uint8_t last_atom; -- 2.39.5