aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-07 20:06:33 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-07 20:14:48 +0200
commit80264dc4222312d563053cb677f7c2cb0e4c0935 (patch)
treeb5c3427e83841773fac6b8f2e59e58aebbf9ad7e
parentd3445a911c426c4a4b1e6617580e38f481d981f8 (diff)
downloadffmpeg-80264dc4222312d563053cb677f7c2cb0e4c0935.tar.gz
Store pointers in a less messy way in SWSContext.
-rw-r--r--libswscale/swscale_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index cfe8e4c2b2..f3fe83f672 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -1233,8 +1233,8 @@ static inline void RENAME(yuv2packed2)(SwsContext *c, const uint16_t *buf0, cons
: "%r8"
);
#else
- *(const uint16_t **)(&c->u_temp)=abuf0;
- *(const uint16_t **)(&c->v_temp)=abuf1;
+ c->u_temp=(intptr_t)abuf0;
+ c->v_temp=(intptr_t)abuf1;
__asm__ volatile(
"mov %%"REG_b", "ESP_OFFSET"(%5) \n\t"
"mov %4, %%"REG_b" \n\t"