History

graphparser: only print filter arguments if they are non-NULL

Anton Khirnov committed 13 years ago

Commit c22263d1 parent 8aaab111 file · +4 −1Browse files

Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all

Unified · Split

libavfilter/graphparser.c+4−1
@@ -126,7 +126,10 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 125 unmodified lines
126 ret = avfilter_init_str(*filt_ctx, args);126 ret = avfilter_init_str(*filt_ctx, args);
127 if (ret < 0) {127 if (ret < 0) {
128 av_log(log_ctx, AV_LOG_ERROR,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 return ret;133 return ret;
131 }134 }
132 135

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t