ffmpeg | branch: master | Zhao Zhili <zhiliz...@tencent.com> | Thu Nov 21 14:58:26 2019 +0800| [bbb68be0ccf4db59ba31341979dfcd9a9556f18d] | committer: Michael Niedermayer
avfilter/graphdump: fix use of uninitialized variables In case of av_bprint_finalize failed. Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bbb68be0ccf4db59ba31341979dfcd9a9556f18d --- libavfilter/graphdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c index 8bc7b162d7..79ef1a733f 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".