Commit 8fb536f7 authored by michael's avatar michael

replace if by assert as it should never by true


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5080 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a843e3c0
...@@ -517,8 +517,7 @@ static int avi_write_ix(AVFormatContext *s) ...@@ -517,8 +517,7 @@ static int avi_write_ix(AVFormatContext *s)
unsigned char ix_tag[] = "ix00"; unsigned char ix_tag[] = "ix00";
int i, j; int i, j;
if (url_is_streamed(pb)) assert(!url_is_streamed(pb));
return -1;
if (avi->riff_id > AVI_MASTER_INDEX_SIZE) if (avi->riff_id > AVI_MASTER_INDEX_SIZE)
return -1; return -1;
......
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