diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-01 01:29:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-01 01:29:12 +0000 |
commit | 9eb40bcf41ae31ebfd8f9376b117da36fa290087 (patch) | |
tree | 9baee607c91dab51d2c6a5821d47e401d2a6652d | |
parent | 11c19637d23c3456555aa29b99dca079261b5705 (diff) | |
download | ffmpeg-9eb40bcf41ae31ebfd8f9376b117da36fa290087.tar.gz |
replace if by assert as it should never by true
Originally committed as revision 5080 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avienc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 84de17c791..4d97ad79b8 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -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; |