diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 18:31:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-10 18:44:39 +0200 |
commit | 0b5627189d83bebbde86816c9daddb8f83489245 (patch) | |
tree | a759126d3e57880f2a68e2ef0417b9186a1384a5 /libavfilter | |
parent | 148310ca1659e3be95a2e87a8e30d1894a32d6d6 (diff) | |
download | ffmpeg-0b5627189d83bebbde86816c9daddb8f83489245.tar.gz |
avfilter/f_sendcmd: make const arrays static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/f_sendcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index 9c7c5f5def..bb8a1786b8 100644 --- a/libavfilter/f_sendcmd.c +++ b/libavfilter/f_sendcmd.c @@ -39,7 +39,7 @@ 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; av_bprint_init(pbuf, 0, AV_BPRINT_SIZE_AUTOMATIC); |