[Ffmpeg-cvslog] CVS: ffmpeg/libavformat avienc.c,1.124,1.125

Michael Niedermayer CVS michael
Wed Mar 1 02:29:14 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv4055

Modified Files:
	avienc.c 
Log Message:
replace if by assert as it should never by true 


Index: avienc.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/avienc.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- avienc.c	21 Feb 2006 20:32:47 -0000	1.124
+++ avienc.c	1 Mar 2006 01:29:12 -0000	1.125
@@ -517,8 +517,7 @@
     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;





More information about the ffmpeg-cvslog mailing list