[FFmpeg-cvslog] lavfi/hdcd: mark pe_str as static and const

Clément Bœsch git at videolan.org
Thu Jul 28 10:30:13 EEST 2016


ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Thu Jul 28 09:29:20 2016 +0200| [4791716c1dca53a3c9e900fdb47bea9731a2b2bd] | committer: Clément Bœsch

lavfi/hdcd: mark pe_str as static and const

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4791716c1dca53a3c9e900fdb47bea9731a2b2bd
---

 libavfilter/af_hdcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 6f3eb1e..6b406e7 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -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"



More information about the ffmpeg-cvslog mailing list