Mercurial > mplayer.hg
comparison mencoder.c @ 17078:9c94272f5eb7
fatal error when muxer cannot initialize
author | rfelker |
---|---|
date | Fri, 02 Dec 2005 19:41:25 +0000 |
parents | cf6bfdf41143 |
children | 05af35012e4f |
comparison
equal
deleted
inserted
replaced
17077:5b8ab25eb7ec | 17078:9c94272f5eb7 |
---|---|
689 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CannotOpenOutputFile, out_filename); | 689 mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CannotOpenOutputFile, out_filename); |
690 mencoder_exit(1,NULL); | 690 mencoder_exit(1,NULL); |
691 } | 691 } |
692 | 692 |
693 muxer=muxer_new_muxer(out_file_format,muxer_f); | 693 muxer=muxer_new_muxer(out_file_format,muxer_f); |
694 if(!muxer) { | |
695 mp_msg(MSGT_MENCODER, MSGL_FATAL, "Cannot initialize muxer."); | |
696 mencoder_exit(1,NULL); | |
697 } | |
694 | 698 |
695 // ============= VIDEO =============== | 699 // ============= VIDEO =============== |
696 | 700 |
697 mux_v=muxer_new_stream(muxer,MUXER_TYPE_VIDEO); | 701 mux_v=muxer_new_stream(muxer,MUXER_TYPE_VIDEO); |
698 | 702 |