summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-31 16:46:20 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-31 16:46:20 +0000
commit05236ed7359b8310eb614adcdda025e5ea1a2ed5 (patch)
tree57693bbfd0ad9eead67681dfe17886d9467eff1b /libavcodec/imgconvert.h
parent93d65e3d92623500b69fe7ccba43f6b6266c3250 (diff)
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
Diffstat (limited to 'libavcodec/imgconvert.h')
-rw-r--r--libavcodec/imgconvert.h4
1 files changed, 4 insertions, 0 deletions
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 <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);