avcodec/packet: Accept const dictionaries in av_packet_pack_dictionary()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user