Browse Source

replace if by assert as it should never by true

Originally committed as revision 5080 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
9eb40bcf41
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavformat/avienc.c

+ 1
- 2
libavformat/avienc.c View File

@@ -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;


Loading…
Cancel
Save