aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-12 21:32:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-12 21:32:56 +0000
commit12ff5b0f3ba1b0998ff72fe5c74f61ee4233ba06 (patch)
treea65adaa9df88fdf96c7b0d3a981b60d46657763c /libavcodec/cabac.h
parentf7bc5837accf0e4a84fb197382bdd609a3c38b0e (diff)
downloadffmpeg-12ff5b0f3ba1b0998ff72fe5c74f61ee4233ba06.tar.gz
add "memory" to the clobber list we change memory so we need it, this also fixes some problems with gcc svn
Originally committed as revision 6679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index afd1ebf37f..b1a4ae6cb2 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -446,7 +446,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
"movl %%ebx, "LOW "(%2) \n\t"
:"=&a"(bit) //FIXME this is fragile gcc either runs out of registers or misscompiles it (for example if "+a"(bit) or "+m"(*state) is used
:"r"(state), "r"(c)
- : "%ecx", "%ebx", "%edx", "%esi"
+ : "%ecx", "%ebx", "%edx", "%esi", "memory"
);
bit&=1;
#else /* BRANCHLESS_CABAC_DECODER */
@@ -516,7 +516,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
"1: \n\t"
:"=&a"(bit)
:"r"(state), "r"(c)
- : "%ecx", "%ebx", "%edx", "%esi"
+ : "%ecx", "%ebx", "%edx", "%esi", "memory"
);
bit&=1;
#endif /* BRANCHLESS_CABAC_DECODER */