Originally committed as revision 15693 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier authored on 2008/10/25 09:49:56... | ... |
@@ -4018,11 +4018,13 @@ static int parse_ffconfig(const char *filename) |
4018 | 4018 |
} |
4019 | 4019 |
} else if (!strcasecmp(cmd, "InputFormat")) { |
4020 | 4020 |
get_arg(arg, sizeof(arg), &p); |
4021 |
+ if (stream) { |
|
4021 | 4022 |
stream->ifmt = av_find_input_format(arg); |
4022 | 4023 |
if (!stream->ifmt) { |
4023 | 4024 |
fprintf(stderr, "%s:%d: Unknown input format: %s\n", |
4024 | 4025 |
filename, line_num, arg); |
4025 | 4026 |
} |
4027 |
+ } |
|
4026 | 4028 |
} else if (!strcasecmp(cmd, "FaviconURL")) { |
4027 | 4029 |
if (stream && stream->stream_type == STREAM_TYPE_STATUS) { |
4028 | 4030 |
get_arg(stream->feed_filename, sizeof(stream->feed_filename), &p); |