diff options
-rw-r--r-- | libswscale/utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 23968b6e5e..390e62777c 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -741,7 +741,8 @@ static int update_flags_cpu(int flags) return flags; } -SwsContext *sws_alloc_context(void){ +SwsContext *sws_alloc_context(void) +{ SwsContext *c= av_mallocz(sizeof(SwsContext)); c->av_class = &sws_context_class; @@ -749,7 +750,8 @@ SwsContext *sws_alloc_context(void){ return c; } -int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter){ +int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter) +{ int i; int usesVFilter, usesHFilter; int unscaled; |