From 05236ed7359b8310eb614adcdda025e5ea1a2ed5 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 31 Jul 2010 16:46:20 +0000 Subject: Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize, and drop the the ff_ variants at the next major bump. Originally committed as revision 24620 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/imgconvert.h') diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index 48e2f12719..f09fcbfc0e 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -27,9 +27,13 @@ #include #include "avcodec.h" +#if LIBAVCODEC_VERSION_MAJOR < 53 +attribute_deprecated 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 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); -- cgit v1.2.3