提交 88a740af 编写于 作者: M Michael Niedermayer

matroskadec: change assert to av_assert0()

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 71529bd8
......@@ -1907,7 +1907,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
case 0x1: /* Xiph lacing */
case 0x2: /* fixed-size lacing */
case 0x3: /* EBML lacing */
assert(size>0); // size <=3 is checked before size-=3 above
av_assert0(size>0); // size <=3 is checked before size-=3 above
laces = (*data) + 1;
data += 1;
size -= 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册