Commit 842e0a96 authored by stefano's avatar stefano

Print a warning and fail if the graph description cannot be

parsed.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16648 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 13e6b4cb
......@@ -376,6 +376,13 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
index++;
} 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) {
/* Last output can be omitted if it is "[out]" */
const char *tmp = "[out]";
......
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