10l
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Sep 2004 12:23:45 +0000 (12:23 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Sep 2004 12:23:45 +0000 (12:23 +0000)
Originally committed as revision 3466 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/huffyuv.c

index 5ce360a..ca00585 100644 (file)
@@ -281,7 +281,7 @@ static void generate_len_table(uint8_t *dst, uint64_t *stats, int size){
             for(len=0; up[index] != -1; len++)
                 index= up[index];
                 
-            if(len > 32) break;
+            if(len >= 32) break;
             
             dst[i]= len;
         }