On Sat, Aug 08, 2015 at 05:14:58PM +0200, Michael Niedermayer 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); > +
What's "param"? It looks undocumented in sws_getContext() as well [...] -- Clément B.
pgpqS9E3NCjah.pgp
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel