Unified · Split
| @@ -126,7 +126,10 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 125 unmodified lines | ||
| 126 | 126 | ret = avfilter_init_str(*filt_ctx, args); |
| 127 | 127 | if (ret < 0) { |
| 128 | 128 | av_log(log_ctx, AV_LOG_ERROR, |
| 129 | − "Error initializing filter '%s' with args '%s'\n", filt_name, args); | |
| 129 | + "Error initializing filter '%s'", filt_name); | |
| 130 | + if (args) | |
| 131 | + av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args); | |
| 132 | + av_log(log_ctx, AV_LOG_ERROR, "\n"); | |
| 130 | 133 | return ret; |
| 131 | 134 | } |
| 132 | 135 | |