diff imgconvert.h @ 12320:035ca6548e29 libavcodec

Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize, and drop the the ff_ variants at the next major bump.
author stefano
date Sat, 31 Jul 2010 16:46:20 +0000
parents a15ec86bf752
children e7de1ba6dbc0
line wrap: on
line diff
--- a/imgconvert.h	Sat Jul 31 16:37:23 2010 +0000
+++ b/imgconvert.h	Sat Jul 31 16:46:20 2010 +0000
@@ -27,9 +27,13 @@
 #include <stdint.h>
 #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);