summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r--libavfilter/vf_scale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 15801970e6..5d015a99ba 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -49,10 +49,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
const char *p;
scale->flags = SWS_BILINEAR;
- if (args){
+ if (args) {
sscanf(args, "%d:%d", &scale->w, &scale->h);
- p= strstr(args,"flags=");
- if(p) scale->flags= strtoul(p+6, NULL, 0);
+ p = strstr(args,"flags=");
+ if (p) scale->flags = strtoul(p+6, NULL, 0);
}
/* sanity check params */