support for sub-only streams; patch by borat subsense com

Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
borat@subsense.com 2006-10-22 09:12:08 +00:00 committed by Nico Sabbi
parent 76aca7a8bf
commit 39a94d24f7

View File

@ -3123,8 +3123,7 @@ static void opt_output_file(const char *filename)
} }
if (!oc->nb_streams) { if (!oc->nb_streams) {
fprintf(stderr, "No audio or video streams available\n"); fprintf(stderr, "Note: Output file will not contain a video or audio stream\n");
exit(1);
} }
oc->timestamp = rec_timestamp; oc->timestamp = rec_timestamp;