[MPlayer-cvslog] CVS: main mencoder.c,1.321,1.322

Richard Felker CVS syncmail at mplayerhq.hu
Fri Dec 2 20:41:28 CET 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv15416

Modified Files:
	mencoder.c 
Log Message:
fatal error when muxer cannot initialize

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.321
retrieving revision 1.322
diff -u -r1.321 -r1.322
--- mencoder.c	29 Nov 2005 22:04:56 -0000	1.321
+++ mencoder.c	2 Dec 2005 19:41:25 -0000	1.322
@@ -691,6 +691,10 @@
 }
 
 muxer=muxer_new_muxer(out_file_format,muxer_f);
+if(!muxer) {
+  mp_msg(MSGT_MENCODER, MSGL_FATAL, "Cannot initialize muxer.");
+  mencoder_exit(1,NULL);
+}
 
 // ============= VIDEO ===============
 




More information about the MPlayer-cvslog mailing list