aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-11 14:44:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-11 14:44:17 +0000
commitd61c4e731e1b5475bc449a04d792bcadcd89d1df (patch)
tree8ecfe5901eec3f394ee9846f8a9fc0773b67ce8e /libavcodec/h264.c
parent5f3eca121e8cb7896e04fbe0e489f886c6143778 (diff)
downloadffmpeg-d61c4e731e1b5475bc449a04d792bcadcd89d1df.tar.gz
make state transition tables global as they are constant and the code is slightly faster that way
Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 0d38ac4322..e35bb4cd73 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7388,7 +7388,7 @@ static int decode_slice(H264Context *h){
align_get_bits( &s->gb );
/* init cabac */
- ff_init_cabac_states( &h->cabac, ff_h264_mps_state, ff_h264_lps_state, 64 );
+ ff_init_cabac_states( &h->cabac);
ff_init_cabac_decoder( &h->cabac,
s->gb.buffer + get_bits_count(&s->gb)/8,
( s->gb.size_in_bits - get_bits_count(&s->gb) + 7)/8);