提交 9eb40bcf 编写于 作者: M Michael Niedermayer

replace if by assert as it should never by true

Originally committed as revision 5080 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 11c19637
......@@ -517,8 +517,7 @@ static int avi_write_ix(AVFormatContext *s)
unsigned char ix_tag[] = "ix00";
int i, j;
if (url_is_streamed(pb))
return -1;
assert(!url_is_streamed(pb));
if (avi->riff_id > AVI_MASTER_INDEX_SIZE)
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册