diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 15:43:32 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 15:43:32 +0000 |
commit | b0a11dd7e9d5e74d65d8db3550e2f3bdf5992701 (patch) | |
tree | ea54df40fa4feb1b5ef009eb04cf6b28b300f5bb | |
parent | a61585625ffa76821654fcf522333b2bec51d4f6 (diff) |
Move uselessly global variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25697 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf_2xsai.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpcodecs/vf_2xsai.c b/libmpcodecs/vf_2xsai.c index 358d8049f2..f90c723b24 100644 --- a/libmpcodecs/vf_2xsai.c +++ b/libmpcodecs/vf_2xsai.c @@ -80,15 +80,13 @@ int Init_2xSaI(int d) + ((((A & qlowpixelMask) + (B & qlowpixelMask) + (C & qlowpixelMask) + (D & qlowpixelMask)) >> 2) & qlowpixelMask) -static unsigned char *src_line[4]; -static unsigned char *dst_line[2]; - void Super2xSaI_ex(uint8_t *src, uint32_t src_pitch, uint8_t *dst, uint32_t dst_pitch, uint32_t width, uint32_t height, int sbpp) { unsigned int x, y; uint32_t color[16]; + unsigned char *src_line[4]; /* Point to the first 3 lines. */ src_line[0] = src; @@ -120,6 +118,7 @@ void Super2xSaI_ex(uint8_t *src, uint32_t src_pitch, } for (y = 0; y < height; y++) { + unsigned char *dst_line[2]; dst_line[0] = dst + dst_pitch*2*y; dst_line[1] = dst + dst_pitch*(2*y+1); |