diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3a91cfd7f2..3551e3a4a8 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;