From 586657c20a84ea85bfd28b9ab19aace427178922 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 17 Oct 2011 20:08:02 +0200 Subject: lavc: deprecate img_get_alpha_info(). It's never been touched or used in any way since it was added in 2003 and only works for PIX_FMT_PAL8, which makes me conclude that nobody's ever used it. --- libavcodec/imgconvert.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/imgconvert.c') diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index c446aaca38..eb398f7107 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -862,6 +862,7 @@ int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, return 0; } +#if FF_API_GET_ALPHA_INFO /* NOTE: we scan all the pixels to have an exact information */ static int get_alpha_info_pal8(const AVPicture *src, int width, int height) { @@ -908,6 +909,7 @@ int img_get_alpha_info(const AVPicture *src, } return ret; } +#endif #if !(HAVE_MMX && HAVE_YASM) /* filter parameters: [-1 4 2 4 -1] // 8 */ -- cgit v1.2.3