1
0
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:
Vitor Sessak 2008-04-04 20:04:58 +00:00
parent f8c77c823c
commit ba56640c30

View File

@ -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;
}