[FFmpeg-cvslog] r14052 - trunk/libavcodec/h264.c

astrange subversion
Thu Jul 3 00:15:05 CEST 2008


Author: astrange
Date: Thu Jul  3 00:15:05 2008
New Revision: 14052

Log:
Simplify loop condition for readability.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Jul  3 00:15:05 2008
@@ -5514,7 +5514,7 @@ static av_always_inline void decode_caba
         }
     }
 
-    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]];




More information about the ffmpeg-cvslog mailing list