Commit e0fe614f authored by vitor's avatar vitor

Fix possible segfault

Commited in SoC by Bobby Bingham on 2007-07-14 23:16:15


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12689 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5480ec5e
...@@ -112,7 +112,8 @@ int avfilter_graph_load_chain(AVFilterGraph *graph, ...@@ -112,7 +112,8 @@ int avfilter_graph_load_chain(AVFilterGraph *graph,
fail: fail:
destroy_graph_filters(graph); destroy_graph_filters(graph);
*first = *last = NULL; if(first) *first = NULL;
if(last) *last = NULL;
return -1; return -1;
} }
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