This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 9f77cb3a9894c6227b7b1c662ecde5f0af301f84 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Jan 4 11:10:41 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Wed Jan 7 16:36:07 2026 +0100 fftools/graph/graphprint: Remove always-false checks init_graphprint() already returns an error upon allocation failure. Signed-off-by: Andreas Rheinhardt <[email protected]> --- fftools/graph/graphprint.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c index 502632acb3..26d2fd381f 100644 --- a/fftools/graph/graphprint.c +++ b/fftools/graph/graphprint.c @@ -963,11 +963,6 @@ int print_filtergraph(FilterGraph *fg, AVFilterGraph *graph) if (ret) return ret; - if (!gpc) { - av_log(NULL, AV_LOG_ERROR, "Failed to initialize graph print context\n"); - return AVERROR(ENOMEM); - } - tfc = gpc->tfc; // Due to the threading model each graph needs to print itself into a buffer @@ -1004,11 +999,6 @@ static int print_filtergraphs_priv(FilterGraph **graphs, int nb_graphs, InputFil if (ret) goto cleanup; - if (!gpc) { - ret = AVERROR(ENOMEM); - goto cleanup; - } - tfc = gpc->tfc; avtext_print_section_header(tfc, NULL, SECTION_ID_ROOT); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
