diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-06 06:21:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-10 03:53:33 +0200 |
commit | 6b72410e0148ab677aca2f7dcbe52d706d632aa0 (patch) | |
tree | 35bcfd8ffe9c3035dad60bfed551ea8adbb528e6 /fftools | |
parent | 80399c7910f765c7c642f85df27d4d9cb59a2c16 (diff) | |
download | ffmpeg-6b72410e0148ab677aca2f7dcbe52d706d632aa0.tar.gz |
fftools/ffmpeg_filter: Don't write string that is never used
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg_filter.c | 3 |
1 files changed, 1 insertions, 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); |