From c56d23dacf4c39d9184ea11e9fc85ef4ddcaa174 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 9 Oct 2006 14:15:53 +0000 Subject: [PATCH] 10l bugfix for some disabled code Originally committed as revision 6603 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 3de719f4e0..031e136d79 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -493,9 +493,9 @@ asm( c->range += (RangeLPS - c->range) & lps_mask; bit= (s^lps_mask)&1; - *state= c->mps_state[s - (128&lps_mask)]; + *state= c->mps_state[s - (130&lps_mask)]; - lps_mask= ff_h264_norm_shift[c->range>>(CABAC_BITS+2)]; + lps_mask= ff_h264_norm_shift[c->range>>(CABAC_BITS+3)]; c->range<<= lps_mask; c->low <<= lps_mask; if(!(c->low & CABAC_MASK))