Mercurial > libavcodec.hg
changeset 7182:ea851fc7ea27 libavcodec
Simplify loop condition for readability.
author | astrange |
---|---|
date | Wed, 02 Jul 2008 22:15:05 +0000 |
parents | 069ef3bf1cef |
children | db32d2544050 |
files | h264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Wed Jul 02 22:12:01 2008 +0000 +++ b/h264.c Wed Jul 02 22:15:05 2008 +0000 @@ -5514,7 +5514,7 @@ } } - 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]];