diff --git a/src/coding/ea_mt_decoder.c b/src/coding/ea_mt_decoder.c index 1ecc4106..5f062580 100644 --- a/src/coding/ea_mt_decoder.c +++ b/src/coding/ea_mt_decoder.c @@ -549,6 +549,9 @@ static void flush_ea_mt_internal(VGMSTREAM *vgmstream, int is_start) { ctx->ptr = ctx->buffer; ctx->end = ctx->buffer + bytes; ctx->bits_count = 0; + + if (is_start) + ctx->parsed_header = 0; } }