Skip to content
Snippets Groups Projects
Commit d2040a8f authored by Alex Beregszaszi's avatar Alex Beregszaszi
Browse files

fixed InputFormat option, which was never working

Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b5a3541d
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment