Commit 47775cb8 authored by Alexander Strange's avatar Alexander Strange

Simplify loop condition for readability.

Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9f734c3b
...@@ -5514,7 +5514,7 @@ static av_always_inline void decode_cabac_residual_internal( H264Context *h, DCT ...@@ -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; uint8_t *ctx = coeff_abs_level1_ctx[node_ctx] + abs_level_m1_ctx_base;
int j= scantable[index[coeff_count]]; int j= scantable[index[coeff_count]];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment