summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-07-02 22:15:05 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-07-02 22:15:05 +0000
commit47775cb8de880dfd2f82029d109229ae65aae767 (patch)
tree12a7e1ccf73507d966a5bc61744eb523562bc1ba
parent9f734c3b57a41bc3723b4ae7373f6be1dedcd292 (diff)
Simplify loop condition for readability.
Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f4c461f0e6..57e97e3d2c 100644
--- 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]];