summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-18 21:59:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-18 21:59:42 +0000
commit8857a7ef32439b6cadea6707effd686786919084 (patch)
tree6ad6a00531338c0ff2dc1b06f6460c8e74cabd23
parent3803021453fbf1a8dc1460fa14ea640416cda4ba (diff)
10l
Originally committed as revision 3034 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c4
1 files 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 */