From 0b5627189d83bebbde86816c9daddb8f83489245 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 10 Aug 2013 18:31:20 +0200 Subject: avfilter/f_sendcmd: make const arrays static const Signed-off-by: Michael Niedermayer --- libavfilter/f_sendcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/f_sendcmd.c') 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); -- cgit v1.2.3