mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avformat/avio: Make avio_print_string_array() accept const pointers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
1e98cc4787
commit
dfb9d8a5a2
@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09
|
|||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2024-02-28 - xxxxxxxxxx - lavf 60.23.100 - avio.h
|
||||||
|
avio_print_string_array() now accepts an array of const pointers.
|
||||||
|
|
||||||
2024-02-26 - xxxxxxxxxx - lavf 60.22.101 - avformat.h
|
2024-02-26 - xxxxxxxxxx - lavf 60.22.101 - avformat.h
|
||||||
AV_DISPOSITION_DEPENDENT may now also be used for video streams
|
AV_DISPOSITION_DEPENDENT may now also be used for video streams
|
||||||
intended to be merged with other video streams for presentation.
|
intended to be merged with other video streams for presentation.
|
||||||
|
@ -544,7 +544,7 @@ int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3);
|
|||||||
* Usually you don't need to use this function directly but its macro wrapper,
|
* Usually you don't need to use this function directly but its macro wrapper,
|
||||||
* avio_print.
|
* avio_print.
|
||||||
*/
|
*/
|
||||||
void avio_print_string_array(AVIOContext *s, const char *strings[]);
|
void avio_print_string_array(AVIOContext *s, const char * const strings[]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write strings (const char *) to the context.
|
* Write strings (const char *) to the context.
|
||||||
|
@ -1400,7 +1400,7 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void avio_print_string_array(AVIOContext *s, const char *strings[])
|
void avio_print_string_array(AVIOContext *s, const char *const strings[])
|
||||||
{
|
{
|
||||||
for(; *strings; strings++)
|
for(; *strings; strings++)
|
||||||
avio_write(s, (const unsigned char *)*strings, strlen(*strings));
|
avio_write(s, (const unsigned char *)*strings, strlen(*strings));
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include "version_major.h"
|
#include "version_major.h"
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_MINOR 22
|
#define LIBAVFORMAT_VERSION_MINOR 23
|
||||||
#define LIBAVFORMAT_VERSION_MICRO 101
|
#define LIBAVFORMAT_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||||
LIBAVFORMAT_VERSION_MINOR, \
|
LIBAVFORMAT_VERSION_MINOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user