diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-18 21:59:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-18 21:59:42 +0000 |
commit | 8857a7ef32439b6cadea6707effd686786919084 (patch) | |
tree | 6ad6a00531338c0ff2dc1b06f6460c8e74cabd23 /ffmpeg.c | |
parent | 3803021453fbf1a8dc1460fa14ea640416cda4ba (diff) | |
download | ffmpeg-8857a7ef32439b6cadea6707effd686786919084.tar.gz |
10l
Originally committed as revision 3034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |