On 19/01/16 22:09, Vittorio Giovara wrote:
> ---
> libavcodec/imgconvert.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
> index 4c707f3..7589828 100644
> --- a/libavcodec/imgconvert.c
> +++ b/libavcodec/imgconvert.c
> @@ -159,6 +159,8 @@ enum AVPixelFormat avcodec_find_best_pix_fmt2(enum
> AVPixelFormat *pix_fmt_list,
> return dst_pix_fmt;
> }
>
> +#if FF_API_AVPICTURE
> +FF_DISABLE_DEPRECATION_WARNINGS
> /* return true if yuv planar */
> static inline int is_yuv_planar(const AVPixFmtDescriptor *desc)
> {
> @@ -166,9 +168,6 @@ static inline int is_yuv_planar(const AVPixFmtDescriptor
> *desc)
> (desc->flags & AV_PIX_FMT_FLAG_PLANAR));
> }
>
> -#if FF_API_AVPICTURE
> -FF_DISABLE_DEPRECATION_WARNINGS
> -
> int av_picture_crop(AVPicture *dst, const AVPicture *src,
> enum AVPixelFormat pix_fmt, int top_band, int left_band)
> {
>
Sure.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel