avformat/matroskadec: Add assert to silence Coverity false positive

Helps with Coverity issue #1452453.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-24 09:29:24 +02:00
parent dfd0320e23
commit 996e0a57ca

View File

@ -1315,6 +1315,8 @@ static int ebml_parse(MatroskaDemuxContext *matroska,
matroska->num_levels--;
return LEVEL_ENDED;
}
// We have not encountered a known element; syntax is a sentinel.
av_assert1(syntax->type == EBML_NONE);
};
}