Cosmetics: apply nits.
Originally committed as revision 25247 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f03f30d77a
commit
46daee6e4e
@ -49,10 +49,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
|
|||||||
const char *p;
|
const char *p;
|
||||||
|
|
||||||
scale->flags = SWS_BILINEAR;
|
scale->flags = SWS_BILINEAR;
|
||||||
if (args){
|
if (args) {
|
||||||
sscanf(args, "%d:%d", &scale->w, &scale->h);
|
sscanf(args, "%d:%d", &scale->w, &scale->h);
|
||||||
p= strstr(args,"flags=");
|
p = strstr(args,"flags=");
|
||||||
if(p) scale->flags= strtoul(p+6, NULL, 0);
|
if (p) scale->flags = strtoul(p+6, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* sanity check params */
|
/* sanity check params */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user