OSDN Git Service

support for sub-only streams; patch by borat subsense com
authorborat@subsense.com <borat@subsense.com>
Sun, 22 Oct 2006 09:12:08 +0000 (09:12 +0000)
committerNico Sabbi <nicola.sabbi@poste.it>
Sun, 22 Oct 2006 09:12:08 +0000 (09:12 +0000)
Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

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