On Wed, Apr 06, 2011 at 08:34:43AM +0200, Anton Khirnov wrote:
> From: Stefano Sabatini <[email protected]>
> 
> Undeprecate sws_getContext(). The function is still used in cmdutils.c
> and the replacement is not yet ready (as it requires some changes to
> lavc).
> 
> --- a/libswscale/swscale.h
> +++ b/libswscale/swscale.h
> @@ -185,14 +181,11 @@ void sws_freeContext(struct SwsContext *swsContext);
>   * @param dstFormat the destination image format
>   * @param flags specify which algorithm and options to use for rescaling
>   * @return a pointer to an allocated context, or NULL in case of error
> - * @deprecated use sws_alloc_context() and sws_init_context()
>   */

Might it not make sense to keep a note that this is slated for removal
and what the alternatives are?

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to