aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-02-20 00:42:33 -0800
committerAlex Converse <alex.converse@gmail.com>2012-02-21 09:47:07 -0800
commitb0f29db5c2b8d1b7de2ccac815e33090e8c49cff (patch)
tree0d70e97046f81fcd84e8c11eec7947037e45f760 /libavfilter
parente48a70e6da02cd5426b6340af70410bdfe27dfa7 (diff)
downloadffmpeg-b0f29db5c2b8d1b7de2ccac815e33090e8c49cff.tar.gz
Mark mutable static data const where appropriate.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_boxblur.c2
-rw-r--r--libavfilter/vf_crop.c2
-rw-r--r--libavfilter/vf_drawtext.c6
-rw-r--r--libavfilter/vf_lut.c2
-rw-r--r--libavfilter/vf_overlay.c2
-rw-r--r--libavfilter/vf_pad.c2
-rw-r--r--libavfilter/vf_scale.c2
-rw-r--r--libavfilter/vf_select.c2
-rw-r--r--libavfilter/vf_setpts.c2
-rw-r--r--libavfilter/vf_settb.c2
-rw-r--r--libavfilter/vsrc_nullsrc.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index a314f5c2c1..fa739de48d 100644
--- a/libavfilter/vf_boxblur.c
+++ b/libavfilter/vf_boxblur.c
@@ -30,7 +30,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"w",
"h",
"cw",
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index cb01bd41cb..d3b5a09060 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_crop.c
@@ -32,7 +32,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 5b794dc545..4846716fe0 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -49,7 +49,7 @@
#include FT_FREETYPE_H
#include FT_GLYPH_H
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",
@@ -64,8 +64,8 @@ static const char *var_names[] = {
NULL
};
-static const char *fun2_names[] = {
- "rand",
+static const char *const fun2_names[] = {
+ "rand"
};
static double drand(void *opaque, double min, double max)
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 7f3e913945..b4950f4e36 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -31,7 +31,7 @@
#include "avfilter.h"
#include "internal.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 39b2375235..2115141b0e 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -33,7 +33,7 @@
#include "libavutil/mathematics.h"
#include "internal.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index 9ba91ed21c..fdadb1a7c7 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -35,7 +35,7 @@
#include "libavutil/mathematics.h"
#include "drawutils.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"PI",
"PHI",
"E",
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 37a6f8e386..46009a7daa 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -30,7 +30,7 @@
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"PI",
"PHI",
"E",
diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index 0ec443aec5..13ec0407d5 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -28,7 +28,7 @@
#include "libavutil/mathematics.h"
#include "avfilter.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E", ///< Euler number
"PHI", ///< golden ratio
"PI", ///< greek pi
diff --git a/libavfilter/vf_setpts.c b/libavfilter/vf_setpts.c
index f2650923d0..b49ca5eb57 100644
--- a/libavfilter/vf_setpts.c
+++ b/libavfilter/vf_setpts.c
@@ -30,7 +30,7 @@
#include "libavutil/mathematics.h"
#include "avfilter.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E", ///< Euler number
"INTERLACED", ///< tell if the current frame is interlaced
"N", ///< frame number (starting at zero)
diff --git a/libavfilter/vf_settb.c b/libavfilter/vf_settb.c
index eeb4353915..49f7a57d72 100644
--- a/libavfilter/vf_settb.c
+++ b/libavfilter/vf_settb.c
@@ -30,7 +30,7 @@
#include "avfilter.h"
#include "internal.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",
diff --git a/libavfilter/vsrc_nullsrc.c b/libavfilter/vsrc_nullsrc.c
index dfd56fa495..4f9dd79346 100644
--- a/libavfilter/vsrc_nullsrc.c
+++ b/libavfilter/vsrc_nullsrc.c
@@ -27,7 +27,7 @@
#include "libavutil/parseutils.h"
#include "avfilter.h"
-static const char *var_names[] = {
+static const char *const var_names[] = {
"E",
"PHI",
"PI",