[xiph-commits] r8327 - trunk/ffmpeg2theora

j at motherfish-iii.xiph.org j at motherfish-iii.xiph.org
Fri Dec 3 05:19:03 PST 2004


Author: j
Date: 2004-12-03 05:19:02 -0800 (Fri, 03 Dec 2004)
New Revision: 8327

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
fix missing >0

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2004-12-03 08:28:47 UTC (rev 8326)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2004-12-03 13:19:02 UTC (rev 8327)
@@ -995,7 +995,7 @@
 		fprintf(stderr,"output width and hight size must be a multiple of 2.\n");
 		exit(1);
 	}
-	if(convert->end_time <= convert->start_time){
+	if(convert->end_time>0 && convert->end_time <= convert->start_time){
 		fprintf(stderr,"end time has to be bigger than start time\n");
 		exit(1);
 	}



More information about the commits mailing list