Commit f3aff31e authored by Luca Barbato's avatar Luca Barbato

avpicture: Deprecate the single fields

Silence pointless warnings from gcc.
parent cd0e0881
...@@ -3181,10 +3181,12 @@ typedef struct AVHWAccel { ...@@ -3181,10 +3181,12 @@ typedef struct AVHWAccel {
/** /**
* four components are given, that's all. * four components are given, that's all.
* the last component is alpha * the last component is alpha
* @deprecated Use the imgutils functions
*/ */
attribute_deprecated
typedef struct AVPicture { typedef struct AVPicture {
attribute_deprecated
uint8_t *data[AV_NUM_DATA_POINTERS]; uint8_t *data[AV_NUM_DATA_POINTERS];
attribute_deprecated
int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
} AVPicture; } AVPicture;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment