Showing the changes to fftools (1 of 1 file). Show all
Unified · Split
| @@ -593,7 +593,6 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter, · 592 unmodified lines | ||
| 593 | 593 | } |
| 594 | 594 | |
| 595 | 595 | if (ost->apad && of->shortest) { |
| 596 | − char args[256]; | |
| 597 | 596 | int i; |
| 598 | 597 | |
| 599 | 598 | for (i=0; i<of->ctx->nb_streams; i++) |
| @@ -601,8 +600,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter, · 1 unmodified line | ||
| 601 | 600 | break; |
| 602 | 601 | |
| 603 | 602 | if (i<of->ctx->nb_streams) { |
| 604 | − snprintf(args, sizeof(args), "%s", ost->apad); | |
| 605 | − AUTO_INSERT_FILTER("-apad", "apad", args); | |
| 603 | + AUTO_INSERT_FILTER("-apad", "apad", ost->apad); | |
| 606 | 604 | } |
| 607 | 605 | } |
| 608 | 606 | |