Commit 46daee6e authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

Cosmetics: apply nits.

Originally committed as revision 25247 to svn://
parent f03f30d7
......@@ -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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment