projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f632c45
)
1 cpu cycle faster suffix_length calculation.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Jan 2010 18:05:02 +0000
(18:05 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Jan 2010 18:05:02 +0000
(18:05 +0000)
Originally committed as revision 21425 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264_cavlc.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_cavlc.c
b/libavcodec/h264_cavlc.c
index
c0308d0
..
c248137
100644
(file)
--- a/
libavcodec/h264_cavlc.c
+++ b/
libavcodec/h264_cavlc.c
@@
-408,7
+408,7
@@
static int decode_residual(H264Context *h, GetBitContext *gb, DCTELEM *block, in
if(trailing_ones<total_coeff) {
int mask, prefix;
- int suffix_length = total_coeff > 10 &
&
trailing_ones < 3;
+ int suffix_length = total_coeff > 10 & trailing_ones < 3;
int bitsi= show_bits(gb, LEVEL_TAB_BITS);
int level_code= cavlc_level_tab[suffix_length][bitsi][0];