[FFmpeg-devel] [PATCH] swscale: Make sws_alloc_set_opts() public
wm4
nfxjfg at googlemail.com
Sat Aug 8 17:58:29 CEST 2015
On Sat, 8 Aug 2015 17:14:58 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libswscale/swscale.h | 11 +++++++++++
> libswscale/swscale_internal.h | 11 -----------
> libswscale/version.h | 4 ++--
> 3 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/libswscale/swscale.h b/libswscale/swscale.h
> index 903e120..055c9fc 100644
> --- a/libswscale/swscale.h
> +++ b/libswscale/swscale.h
> @@ -161,6 +161,17 @@ int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt);
> struct SwsContext *sws_alloc_context(void);
>
> /**
> + * Allocate and return an SwsContext.
> + * This is like sws_getContext() but does not perform the init step, allowing
> + * the user to set additional AVOptions.
> + *
> + * @see sws_getContext()
> + */
> +struct SwsContext *sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat,
> + int dstW, int dstH, enum AVPixelFormat dstFormat,
> + int flags, const double *param);
> +
This looks excessively useless and un-nice to use.
More information about the ffmpeg-devel
mailing list