History

Merge remote-tracking branch 'qatar/master'

* qatar/master: avfiltergraph: check for sws opts being non-NULL before using them. Conflicts: libavfilter/avfiltergraph.c libavfilter/graphparser.c

Michael Niedermayer committed 13 years ago

Commit d3fc2db2 parents 4d63694 6e3c13a2 files · +8 −7Browse files

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

Unified · Split

libavfilter/graphparser.c+2−2
@@ -122,8 +122,8 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 121 unmodified lines
122122 return ret;
123123 }
124124
125− if (!strcmp(filt_name, "scale") && args && !strstr(args, "flags")
126− && ctx->scale_sws_opts) {
125+ if (!strcmp(filt_name, "scale") && args && !strstr(args, "flags") &&
126+ ctx->scale_sws_opts) {
127127 snprintf(tmp_args, sizeof(tmp_args), "%s:%s",
128128 args, ctx->scale_sws_opts);
129129 args = tmp_args;

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