This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 191be14fb6d7b3aa108cfd88d9353e000e9f86c3 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun May 3 11:55:55 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Jun 23 19:15:57 2026 +0200 avcodec/packet: Accept const dictionaries in av_packet_pack_dictionary() Signed-off-by: Andreas Rheinhardt <[email protected]> --- doc/APIchanges | 3 +++ libavcodec/packet.c | 2 +- libavcodec/packet.h | 2 +- libavcodec/version.h | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) 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, \ _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
