aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-10-27 21:53:26 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-10-27 21:53:26 +0100
commitf3aff31e5f66a4f1c4e34ce4944f4a402aca61ed (patch)
tree45818908f863fdf98d9eac5fd27089ab6626e5a9 /libavcodec
parentcd0e08813a0484002b5defbf557c859f123953ae (diff)
downloadffmpeg-f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed.tar.gz
avpicture: Deprecate the single fields
Silence pointless warnings from gcc.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 3 insertions, 1 deletions
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;