lavfi/hdcd: mark pe_str as static and const
authorClément Bœsch <clement@stupeflix.com>
Thu, 28 Jul 2016 07:29:20 +0000 (09:29 +0200)
committerClément Bœsch <clement@stupeflix.com>
Thu, 28 Jul 2016 07:29:20 +0000 (09:29 +0200)
libavfilter/af_hdcd.c

index 6f3eb1e..6b406e7 100644 (file)
@@ -857,7 +857,7 @@ typedef enum {
     HDCD_PE_PERMANENT    =2
 } hdcd_pe_t;
 
-const char* pe_str[] = {
+static const char * const pe_str[] = {
     "never enabled",
     "enabled intermittently",
     "enabled permanently"