mirror of https://git.videolan.org/git/ffmpeg.git
avfilter/f_sendcmd: make const arrays static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
148310ca16
commit
0b5627189d
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
static inline char *make_command_flags_str(AVBPrint *pbuf, int flags)
|
static inline char *make_command_flags_str(AVBPrint *pbuf, int flags)
|
||||||
{
|
{
|
||||||
const char *flag_strings[] = { "enter", "leave" };
|
static const char * const flag_strings[] = { "enter", "leave" };
|
||||||
int i, is_first = 1;
|
int i, is_first = 1;
|
||||||
|
|
||||||
av_bprint_init(pbuf, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
av_bprint_init(pbuf, 0, AV_BPRINT_SIZE_AUTOMATIC);
|
||||||
|
|
Loading…
Reference in New Issue