summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_ass.c2
-rw-r--r--libmpcodecs/vf_crop.c2
-rw-r--r--libmpcodecs/vf_delogo.c2
-rw-r--r--libmpcodecs/vf_eq.c2
-rw-r--r--libmpcodecs/vf_expand.c2
-rw-r--r--libmpcodecs/vf_format.c2
-rw-r--r--libmpcodecs/vf_hue.c2
-rw-r--r--libmpcodecs/vf_noformat.c2
-rw-r--r--libmpcodecs/vf_scale.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c
index 04f131d4cb..63355bff0f 100644
--- a/libmpcodecs/vf_ass.c
+++ b/libmpcodecs/vf_ass.c
@@ -64,7 +64,7 @@ static struct vf_priv_s {
unsigned char* planes[3];
unsigned char* dirty_rows;
-} vf_priv_dflt;
+} const vf_priv_dflt;
extern int opt_screen_size_x;
extern int opt_screen_size_y;
diff --git a/libmpcodecs/vf_crop.c b/libmpcodecs/vf_crop.c
index 200a3e783c..2bb2ea8bd2 100644
--- a/libmpcodecs/vf_crop.c
+++ b/libmpcodecs/vf_crop.c
@@ -16,7 +16,7 @@
static struct vf_priv_s {
int crop_w,crop_h;
int crop_x,crop_y;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
-1,-1,
-1,-1
};
diff --git a/libmpcodecs/vf_delogo.c b/libmpcodecs/vf_delogo.c
index 6b906e3b2a..fe2f3a876c 100644
--- a/libmpcodecs/vf_delogo.c
+++ b/libmpcodecs/vf_delogo.c
@@ -45,7 +45,7 @@
static struct vf_priv_s {
unsigned int outfmt;
int xoff, yoff, lw, lh, band, show;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
0,
0, 0, 0, 0, 0, 0
};
diff --git a/libmpcodecs/vf_eq.c b/libmpcodecs/vf_eq.c
index 571244f6f4..95ea597385 100644
--- a/libmpcodecs/vf_eq.c
+++ b/libmpcodecs/vf_eq.c
@@ -21,7 +21,7 @@ static struct vf_priv_s {
unsigned char *buf;
int brightness;
int contrast;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
NULL,
0,
0
diff --git a/libmpcodecs/vf_expand.c b/libmpcodecs/vf_expand.c
index 9edb5933eb..679be5dc15 100644
--- a/libmpcodecs/vf_expand.c
+++ b/libmpcodecs/vf_expand.c
@@ -33,7 +33,7 @@ static struct vf_priv_s {
unsigned char* fb_ptr;
int passthrough;
int first_slice;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
-1,-1,
-1,-1,
0,
diff --git a/libmpcodecs/vf_format.c b/libmpcodecs/vf_format.c
index fef17eb908..8f65d5f2e4 100644
--- a/libmpcodecs/vf_format.c
+++ b/libmpcodecs/vf_format.c
@@ -16,7 +16,7 @@
static struct vf_priv_s {
unsigned int fmt;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
IMGFMT_YUY2
};
diff --git a/libmpcodecs/vf_hue.c b/libmpcodecs/vf_hue.c
index 22024b9506..29567bbb9b 100644
--- a/libmpcodecs/vf_hue.c
+++ b/libmpcodecs/vf_hue.c
@@ -21,7 +21,7 @@ static struct vf_priv_s {
uint8_t *buf[2];
float hue;
float saturation;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
{NULL, NULL},
0.0,
1.0,
diff --git a/libmpcodecs/vf_noformat.c b/libmpcodecs/vf_noformat.c
index 1b16aab9f7..368fc28848 100644
--- a/libmpcodecs/vf_noformat.c
+++ b/libmpcodecs/vf_noformat.c
@@ -16,7 +16,7 @@
static struct vf_priv_s {
unsigned int fmt;
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
IMGFMT_YV12
};
diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c
index c824cd870a..8309680c43 100644
--- a/libmpcodecs/vf_scale.c
+++ b/libmpcodecs/vf_scale.c
@@ -31,7 +31,7 @@ static struct vf_priv_s {
int noup;
int accurate_rnd;
int query_format_cache[64];
-} vf_priv_dflt = {
+} const vf_priv_dflt = {
-1,-1,
0,
{SWS_PARAM_DEFAULT, SWS_PARAM_DEFAULT},