Commit 996e0a57 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/matroskadec: Add assert to silence Coverity false positive

Helps with Coverity issue #1452453.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent dfd0320e
......@@ -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);
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment