[vlc-commits] transform: use restrict qualifier as appropriate
Rémi Denis-Courmont
git at videolan.org
Sat Mar 17 17:44:43 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 17 18:44:14 2012 +0200| [81c551212c9c8f4deaa9806aaad13d464166cff6] | committer: Rémi Denis-Courmont
transform: use restrict qualifier as appropriate
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81c551212c9c8f4deaa9806aaad13d464166cff6
---
modules/video_filter/transform.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c
index 35da2b4..1ce553c 100644
--- a/modules/video_filter/transform.c
+++ b/modules/video_filter/transform.c
@@ -101,7 +101,7 @@ static void R270(int *sx, int *sy, int w, int h, int dx, int dy)
typedef void (*convert_t)(int *, int *, int, int, int, int);
#define PLANAR(f) \
-static void Planar##f(plane_t *dst, const plane_t *src) \
+static void Planar##f(plane_t *restrict dst, const plane_t *restrict src) \
{ \
for (int y = 0; y < dst->i_visible_lines; y++) { \
for (int x = 0; x < dst->i_visible_pitch; x++) { \
More information about the vlc-commits
mailing list