mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-31 20:02:42 +00:00
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:
parent
dfd0320e23
commit
996e0a57ca
@ -1315,6 +1315,8 @@ static int ebml_parse(MatroskaDemuxContext *matroska,
|
|||||||
matroska->num_levels--;
|
matroska->num_levels--;
|
||||||
return LEVEL_ENDED;
|
return LEVEL_ENDED;
|
||||||
}
|
}
|
||||||
|
// We have not encountered a known element; syntax is a sentinel.
|
||||||
|
av_assert1(syntax->type == EBML_NONE);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user