Commit 8d758f5e authored by alex's avatar alex

fixed InputFormat option, which was never working

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 690a30a9
...@@ -4024,6 +4024,7 @@ static int parse_ffconfig(const char *filename) ...@@ -4024,6 +4024,7 @@ static int parse_ffconfig(const char *filename)
video_id = stream->fmt->video_codec; video_id = stream->fmt->video_codec;
} }
} else if (!strcasecmp(cmd, "InputFormat")) { } else if (!strcasecmp(cmd, "InputFormat")) {
get_arg(arg, sizeof(arg), &p);
stream->ifmt = av_find_input_format(arg); stream->ifmt = av_find_input_format(arg);
if (!stream->ifmt) { if (!stream->ifmt) {
fprintf(stderr, "%s:%d: Unknown input format: %s\n", fprintf(stderr, "%s:%d: Unknown input format: %s\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment