diff --git a/doc/APIchanges b/doc/APIchanges index a025f1df14..9d25621e43 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 API changes, most recent first: +2024-03-22 - xxxxxxxxxx - lavu 59.4.100 - frame.h + Constified the first-level pointee of av_frame_side_data_get(). + 2024-03-xx - xxxxxxxxxx - lavc 61.2.100 - avcodec.h Add AVCodecContext.[nb_]decoded_side_data. diff --git a/libavutil/frame.c b/libavutil/frame.c index 89db687d9c..8598aa98a2 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -813,7 +813,7 @@ int av_frame_side_data_clone(AVFrameSideData ***sd, int *nb_sd, return 0; } -const AVFrameSideData *av_frame_side_data_get(const AVFrameSideData **sd, +const AVFrameSideData *av_frame_side_data_get(const AVFrameSideData * const *sd, const int nb_sd, enum AVFrameSideDataType type) { diff --git a/libavutil/frame.h b/libavutil/frame.h index a7fc909ad8..cf9ffe1ba9 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -1051,7 +1051,7 @@ int av_frame_side_data_clone(AVFrameSideData ***sd, int *nb_sd, * @return a pointer to the side data of a given type on success, NULL if there * is no side data with such type in this set. */ -const AVFrameSideData *av_frame_side_data_get(const AVFrameSideData **sd, +const AVFrameSideData *av_frame_side_data_get(const AVFrameSideData * const *sd, const int nb_sd, enum AVFrameSideDataType type); diff --git a/libavutil/version.h b/libavutil/version.h index 5027b025be..882003f719 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -79,7 +79,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 59 -#define LIBAVUTIL_VERSION_MINOR 3 +#define LIBAVUTIL_VERSION_MINOR 4 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \