Commit ba56640c authored by Vitor Sessak's avatar Vitor Sessak
Browse files

Fix possible segfault

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

Originally committed as revision 12689 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f8c77c82
......@@ -112,7 +112,8 @@ int avfilter_graph_load_chain(AVFilterGraph *graph,
fail:
destroy_graph_filters(graph);
*first = *last = NULL;
if(first) *first = NULL;
if(last) *last = NULL;
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