Browse Source

avfilter/f_sendcmd: make const arrays static const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
0b5627189d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/f_sendcmd.c

+ 1
- 1
libavfilter/f_sendcmd.c View File

@@ -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…
Cancel
Save