Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-10 20:31:20 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-08-10 20:44:39 +0400
commit0b5627189d83bebbde86816c9daddb8f83489245 (patch)
treea759126d3e57880f2a68e2ef0417b9186a1384a5 /libavfilter/f_sendcmd.c
parent148310ca1659e3be95a2e87a8e30d1894a32d6d6 (diff)
avfilter/f_sendcmd: make const arrays static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/f_sendcmd.c')
-rw-r--r--libavfilter/f_sendcmd.c2
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);