mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/ffmpeg_filter: Don't write string that is never used
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
80399c7910
commit
6b72410e01
|
@ -463,8 +463,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
|
||||||
|
|
||||||
if ((pix_fmts = choose_pix_fmts(ofilter))) {
|
if ((pix_fmts = choose_pix_fmts(ofilter))) {
|
||||||
AVFilterContext *filter;
|
AVFilterContext *filter;
|
||||||
snprintf(name, sizeof(name), "format_out_%d_%d",
|
|
||||||
ost->file_index, ost->index);
|
|
||||||
ret = avfilter_graph_create_filter(&filter,
|
ret = avfilter_graph_create_filter(&filter,
|
||||||
avfilter_get_by_name("format"),
|
avfilter_get_by_name("format"),
|
||||||
"format", pix_fmts, NULL, fg->graph);
|
"format", pix_fmts, NULL, fg->graph);
|
||||||
|
|
Loading…
Reference in New Issue