diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-17 20:08:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-20 21:06:58 +0200 |
commit | 586657c20a84ea85bfd28b9ab19aace427178922 (patch) | |
tree | e77cb229df1eb9ac05e52af91fb2a096e85c387d /libavcodec/imgconvert.c | |
parent | 0842d58998f441768b5e4376aa0c1d7be0e07a8b (diff) | |
download | ffmpeg-586657c20a84ea85bfd28b9ab19aace427178922.tar.gz |
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.
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |