Don't run AVI merge if mencoder not installed on system

This commit is contained in:
pagefault
2006-02-28 00:58:09 +00:00
parent 0a7d693f1c
commit 1265614651

View File

@@ -1987,7 +1987,7 @@ static void raw_video_close()
if (audio_and_video && (MovieAudioMode == 2)) if (audio_and_video && (MovieAudioMode == 2))
{ {
chdir(ZStartPath); chdir(ZStartPath);
system(encode_command(md_merge)); if (mencoderExists) system(encode_command(md_merge));
remove(md_file); remove(md_file);
remove(md_pcm_audio); remove(md_pcm_audio);
} }