You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Print a warning and fail if the graph description cannot be
parsed. Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -376,6 +376,13 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
|
|||||||
index++;
|
index++;
|
||||||
} while(chr == ',' || chr == ';');
|
} while(chr == ',' || chr == ';');
|
||||||
|
|
||||||
|
if (*filters) {
|
||||||
|
av_log(log_ctx, AV_LOG_ERROR,
|
||||||
|
"Unable to parse graph description substring: \"%s\"\n",
|
||||||
|
filters - 1);
|
||||||
|
goto fail;
|
||||||
|
}
|
||||||
|
|
||||||
if(open_inputs && !strcmp(open_inputs->name, "out") && curr_inputs) {
|
if(open_inputs && !strcmp(open_inputs->name, "out") && curr_inputs) {
|
||||||
/* Last output can be omitted if it is "[out]" */
|
/* Last output can be omitted if it is "[out]" */
|
||||||
const char *tmp = "[out]";
|
const char *tmp = "[out]";
|
||||||
|
Reference in New Issue
Block a user