mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 04:47:37 +08:00
fixed InputFormat option, which was never working
Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user