Originally committed as revision 25247 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -49,10 +49,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) |
| 49 | 49 |
const char *p; |
| 50 | 50 |
|
| 51 | 51 |
scale->flags = SWS_BILINEAR; |
| 52 |
- if (args){
|
|
| 52 |
+ if (args) {
|
|
| 53 | 53 |
sscanf(args, "%d:%d", &scale->w, &scale->h); |
| 54 |
- p= strstr(args,"flags="); |
|
| 55 |
- if(p) scale->flags= strtoul(p+6, NULL, 0); |
|
| 54 |
+ p = strstr(args,"flags="); |
|
| 55 |
+ if (p) scale->flags = strtoul(p+6, NULL, 0); |
|
| 56 | 56 |
} |
| 57 | 57 |
|
| 58 | 58 |
/* sanity check params */ |