Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com>
---
 ffserver.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ffserver.c b/ffserver.c
index 3b3451e..087963a 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -578,6 +578,11 @@ void *accept_thread(void *arg)
             continue;
         }
 
+        if (!info->fs && requested_file[0]) {
+            info->httpd->close(server, client);
+            continue;
+        }
+
         avio_buffer = av_malloc(AV_BUFSIZE);
         if (!avio_buffer) {
             av_log(client_ctx, AV_LOG_ERROR, "Could not allocate output format 
context.\n");
-- 
2.1.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to