Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/mencoder.c Fri Dec 02 14:35:19 2005 +0000 +++ b/mencoder.c Fri Dec 02 19:41:25 2005 +0000 @@ -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 ===============
