summaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-04-22 17:48:23 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-04-22 17:48:23 +0000
commitd2040a8fb6424a8a6917e24f91047c5b0790aa75 (patch)
treeac5204812af2b6d133362780f7b5d650ebe8eb1d /ffserver.c
parentb5a3541da11e8071c06f07c8ab8fc22f3990f24e (diff)
downloadffmpeg-streaming-d2040a8fb6424a8a6917e24f91047c5b0790aa75.zip
ffmpeg-streaming-d2040a8fb6424a8a6917e24f91047c5b0790aa75.tar.gz
fixed InputFormat option, which was never working
Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index f84b87f..682addc 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",
OpenPOWER on IntegriCloud