From 8857a7ef32439b6cadea6707effd686786919084 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 18 Apr 2004 21:59:42 +0000 Subject: [PATCH] 10l Originally committed as revision 3034 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index c035cc30d2..95a6420d99 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2652,8 +2652,8 @@ static void opt_output_file(const char *filename) exit(1); } } else { - use_video = file_oformat->video_codec != CODEC_ID_NONE; - use_audio = file_oformat->audio_codec != CODEC_ID_NONE; + use_video = file_oformat->video_codec != CODEC_ID_NONE || video_stream_copy; + use_audio = file_oformat->audio_codec != CODEC_ID_NONE || audio_stream_copy; /* disable if no corresponding type found and at least one input file */