swscale: Add sws_alloc_set_opts()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Aug 2015 10:36:49 +0000 (12:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Aug 2015 11:08:16 +0000 (13:08 +0200)
commitc382d9e8cbee7635755a559fcd03834aa3daa3a7
tree68382669e37db819f49fff1bd95a0843c796a015
parent7e9cd99627099f6d0b3cc34717fef48e555445ae
swscale: Add sws_alloc_set_opts()

This simplifies allocating and initializing swscale contexts with custom options.
The function is internal currently but could be moved into the public header

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/swscale_internal.h
libswscale/utils.c