[FFmpeg-cvslog] fftools/ffmpeg_filter: Don't write string that is never used

Andreas Rheinhardt git at videolan.org
Sat Apr 10 05:59:30 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Apr  6 06:21:22 2021 +0200| [6b72410e0148ab677aca2f7dcbe52d706d632aa0] | committer: Andreas Rheinhardt

fftools/ffmpeg_filter: Don't write string that is never used

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b72410e0148ab677aca2f7dcbe52d706d632aa0
---

 fftools/ffmpeg_filter.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 61ca793058..a4b4638abb 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -463,8 +463,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
 
     if ((pix_fmts = choose_pix_fmts(ofilter))) {
         AVFilterContext *filter;
-        snprintf(name, sizeof(name), "format_out_%d_%d",
-                 ost->file_index, ost->index);
+
         ret = avfilter_graph_create_filter(&filter,
                                            avfilter_get_by_name("format"),
                                            "format", pix_fmts, NULL, fg->graph);



More information about the ffmpeg-cvslog mailing list