From f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 27 Oct 2015 21:53:26 +0100 Subject: avpicture: Deprecate the single fields Silence pointless warnings from gcc. --- libavcodec/avcodec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b47aafaac3..e368d6b185 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3181,10 +3181,12 @@ typedef struct AVHWAccel { /** * four components are given, that's all. * the last component is alpha + * @deprecated Use the imgutils functions */ -attribute_deprecated typedef struct AVPicture { + attribute_deprecated uint8_t *data[AV_NUM_DATA_POINTERS]; + attribute_deprecated int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line } AVPicture; -- cgit v1.2.3