diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-10-27 21:53:26 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-27 21:53:26 +0100 |
commit | f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed (patch) | |
tree | 45818908f863fdf98d9eac5fd27089ab6626e5a9 /libavcodec | |
parent | cd0e08813a0484002b5defbf557c859f123953ae (diff) | |
download | ffmpeg-f3aff31e5f66a4f1c4e34ce4944f4a402aca61ed.tar.gz |
avpicture: Deprecate the single fields
Silence pointless warnings from gcc.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
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; |