fatal error when muxer cannot initialize

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17079 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2005-12-02 19:41:25 +00:00
parent cdaddab24e
commit 6a3353a1e9
1 changed files with 4 additions and 0 deletions

View File

@ -691,6 +691,10 @@ if(!muxer_f) {
}
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 ===============