diff options
author | wm4 <wm4@nowhere> | 2013-07-23 00:45:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-23 00:45:23 +0200 |
commit | e83cbde1a4b816a64cefde1fb8bdbac403079600 (patch) | |
tree | 1ac71b13723174ab48465915fd5e9916faa7df35 /video/filter/vf_down3dright.c | |
parent | 78ebb3c6fa637206bb369349ba93328b36895e2b (diff) | |
download | mpv-e83cbde1a4b816a64cefde1fb8bdbac403079600.tar.bz2 mpv-e83cbde1a4b816a64cefde1fb8bdbac403079600.tar.xz |
Fix some -Wshadow warnings
In general, this warning can hint to actual bugs. We don't enable it
yet, because it would conflict with some unmerged code, and we should
check with clang too (this commit was done by testing with gcc).
Diffstat (limited to 'video/filter/vf_down3dright.c')
-rw-r--r-- | video/filter/vf_down3dright.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/filter/vf_down3dright.c b/video/filter/vf_down3dright.c index 21616a4ad2..895753bafc 100644 --- a/video/filter/vf_down3dright.c +++ b/video/filter/vf_down3dright.c @@ -37,16 +37,16 @@ struct vf_priv_s { int scaleh; }; -static void toright(unsigned char *dst[3], unsigned char *src[3], +static void toright(unsigned char *adst[3], unsigned char *asrc[3], int dststride[3], int srcstride[3], int w, int h, struct vf_priv_s* p) { int k; for (k = 0; k < 3; k++) { - unsigned char* fromL = src[k]; - unsigned char* fromR = src[k]; - unsigned char* to = dst[k]; + unsigned char* fromL = asrc[k]; + unsigned char* fromR = asrc[k]; + unsigned char* to = adst[k]; int src = srcstride[k]; int dst = dststride[k]; int ss; |