From 81c1ecabab93ad279092925872cfd13db07a6c6e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 12 Aug 2010 15:06:04 +0000 Subject: Deprecate ff_get_plane_bytewidth() in favor of av_get_image_linesize(). Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/imgconvert.h') diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index f09fcbfc0e..0f2c2e1713 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -33,9 +33,10 @@ int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); attribute_deprecated int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height); -#endif +attribute_deprecated int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); +#endif int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); -- cgit v1.2.3