diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3a91cfd7f256ff3a661f58d549c119b5166770c4..3551e3a4a8fc09915e09e91cc7f9e65676c78566 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3592,7 +3592,9 @@ typedef struct AVHWAccel { * @deprecated use AVFrame or imgutils functions instead */ typedef struct AVPicture { + attribute_deprecated uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes + attribute_deprecated int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line } AVPicture;