aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-05 01:41:10 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-12-09 10:36:00 +0100
commit7e737609504091afae983412c004fbbae131d40c (patch)
tree2ce35d50572eef28e74fcd547fd2a7b1d82bb1a1 /libavcodec/cabac.c
parent0639e403bed5aa5ae74d7de08934cfb8432d21fa (diff)
downloadffmpeg-7e737609504091afae983412c004fbbae131d40c.tar.gz
avcodec/cabac: force get_cabac to be not inlined
works around bug in gccs inline asm register assignment Fixes Ticket3177 gcc from 4.4 to 4.6 is affected at least, no non affected gccs known clang seems not affected Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0538b29ae8002c44f27bae8a1a6fc6e646998be5)
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 187b7dc445..370cbf2a94 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -306,7 +306,7 @@ STOP_TIMER("get_cabac_bypass")
for(i=0; i<SIZE; i++){
START_TIMER
- if( (r[i]&1) != get_cabac(&c, state) )
+ if( (r[i]&1) != get_cabac_noinline(&c, state) )
av_log(NULL, AV_LOG_ERROR, "CABAC failure at %d\n", i);
STOP_TIMER("get_cabac")
}