From 39a94d24f7e7a71f13faf51856d5b13f5db239eb Mon Sep 17 00:00:00 2001
From: "borat@subsense.com" <borat@subsense.com>
Date: Sun, 22 Oct 2006 09:12:08 +0000
Subject: [PATCH] support for sub-only streams; patch by borat subsense com

Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffmpeg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 23900708b7b..89bba27e040 100644
--- 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;
-- 
GitLab