mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
f8c77c823c
commit
ba56640c30
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user