From d2040a8fb6424a8a6917e24f91047c5b0790aa75 Mon Sep 17 00:00:00 2001
From: Alex Beregszaszi <alex@rtfs.hu>
Date: Sun, 22 Apr 2007 17:48:23 +0000
Subject: [PATCH] fixed InputFormat option, which was never working

Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffserver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ffserver.c b/ffserver.c
index f84b87f5b05..682addcb94f 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4024,6 +4024,7 @@ static int parse_ffconfig(const char *filename)
                 video_id = stream->fmt->video_codec;
             }
         } else if (!strcasecmp(cmd, "InputFormat")) {
+            get_arg(arg, sizeof(arg), &p);
             stream->ifmt = av_find_input_format(arg);
             if (!stream->ifmt) {
                 fprintf(stderr, "%s:%d: Unknown input format: %s\n",
-- 
GitLab