On Sat, 8 Aug 2015 17:14:58 +0200 Michael Niedermayer <michae...@gmx.at> wrote:
> From: Michael Niedermayer <mich...@niedermayer.cc> > > Signed-off-by: Michael Niedermayer <mich...@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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel