projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f734c3
)
Simplify loop condition for readability.
author
Alexander Strange
<astrange@ithinksw.com>
Wed, 2 Jul 2008 22:15:05 +0000
(22:15 +0000)
committer
Alexander Strange
<astrange@ithinksw.com>
Wed, 2 Jul 2008 22:15:05 +0000
(22:15 +0000)
Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
f4c461f
..
57e97e3
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-5514,7
+5514,7
@@
static av_always_inline void decode_cabac_residual_internal( H264Context *h, DCT
}
}
-
for( coeff_count--; coeff_count >= 0;
coeff_count-- ) {
+
while(
coeff_count-- ) {
uint8_t *ctx = coeff_abs_level1_ctx[node_ctx] + abs_level_m1_ctx_base;
int j= scantable[index[coeff_count]];