summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:36:16 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:38:40 +0300
commitdef7ed045daee1b1342669a35a1e543b8720895d (patch)
tree5101593bbc472957f3d8dec75383be4e15cea4f0
parent05ad815133fcb0ade9a1040069dedba1abf9d6f0 (diff)
downloadmpv-def7ed045daee1b1342669a35a1e543b8720895d.tar.bz2
mpv-def7ed045daee1b1342669a35a1e543b8720895d.tar.xz
vf_divtc.c: Make pointlessly static variable a normal local
Apparently because it was declared together with local constant tables (for which the "static" part was useless but harmless) a pointer variable was also declared static.
-rw-r--r--libmpcodecs/vf_divtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_divtc.c b/libmpcodecs/vf_divtc.c
index ec6b35d17a..4dade860f1 100644
--- a/libmpcodecs/vf_divtc.c
+++ b/libmpcodecs/vf_divtc.c
@@ -206,7 +206,7 @@ static int imgop(int(*planeop)(unsigned char *, unsigned char *,
static int match(struct vf_priv_s *p, int *diffs,
int phase1, int phase2, double *strength)
{
- static const int pattern1[]={ -4, 1, 1, 1, 1 },
+ const int pattern1[]={ -4, 1, 1, 1, 1 },
pattern2[]={ -2, -3, 4, 4, -3 }, *pattern;
int f, m, n, t[5];