X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fgraphdump.c;h=79ef1a733fe2555a62dd63ebe07d292d2f39c0f0;hb=b9fff6e15e73dc995695db9be8db084238cca14c;hp=8bc7b162d77e171f26e8abd3c61b035a61d842aa;hpb=ef71ef5f30ddf1cd61e46628a04608892caf76d2;p=ffmpeg diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c index 8bc7b162d77..79ef1a733fe 100644 --- a/libavfilter/graphdump.c +++ b/libavfilter/graphdump.c @@ -154,7 +154,7 @@ static void avfilter_graph_dump_to_buf(AVBPrint *buf, AVFilterGraph *graph) char *avfilter_graph_dump(AVFilterGraph *graph, const char *options) { AVBPrint buf; - char *dump; + char *dump = NULL; av_bprint_init(&buf, 0, AV_BPRINT_SIZE_COUNT_ONLY); avfilter_graph_dump_to_buf(&buf, graph);