diff --git a/doc/APIchanges b/doc/APIchanges index baba5918e6..3c0c28675f 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28 API changes, most recent first: +2026-06-23 - xxxxxxxxxx - lavc 62.37.100 - packet.h + av_packet_pack_dictionary() now accepts const AVDictionary*. + 2026-06-xx - xxxxxxxxxx - lavu 60.33.100 - frame.h Add AV_FRAME_DATA_RAW_COLOR_PARAMS. diff --git a/libavcodec/packet.c b/libavcodec/packet.c index 80549eb48b..deb369ff05 100644 --- a/libavcodec/packet.c +++ b/libavcodec/packet.c @@ -316,7 +316,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) return NULL; } -uint8_t *av_packet_pack_dictionary(AVDictionary *dict, size_t *size) +uint8_t *av_packet_pack_dictionary(const AVDictionary *dict, size_t *size) { uint8_t *data = NULL; *size = 0; diff --git a/libavcodec/packet.h b/libavcodec/packet.h index 61569e3d4d..00774a7030 100644 --- a/libavcodec/packet.h +++ b/libavcodec/packet.h @@ -824,7 +824,7 @@ uint8_t* av_packet_get_side_data(const AVPacket *pkt, enum AVPacketSideDataType * @param size pointer to store the size of the returned data * @return pointer to data if successful, NULL otherwise */ -uint8_t *av_packet_pack_dictionary(AVDictionary *dict, size_t *size); +uint8_t *av_packet_pack_dictionary(const AVDictionary *dict, size_t *size); /** * Unpack a dictionary from side_data. * diff --git a/libavcodec/version.h b/libavcodec/version.h index 381b278e81..376388c5bb 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,8 +29,8 @@ #include "version_major.h" -#define LIBAVCODEC_VERSION_MINOR 36 -#define LIBAVCODEC_VERSION_MICRO 101 +#define LIBAVCODEC_VERSION_MINOR 37 +#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \