diff huffyuv.c @ 5481:defae3a747d9 libavcodec

prevent huffyuv from generating codewords of length 32. (regression in r9069)
author lorenm
date Sun, 05 Aug 2007 00:29:02 +0000
parents 6104d97fa4fe
children 5d82b4e8a7f3
line wrap: on
line diff
--- a/huffyuv.c	Sat Aug 04 22:32:17 2007 +0000
+++ b/huffyuv.c	Sun Aug 05 00:29:02 2007 +0000
@@ -312,7 +312,7 @@
             len[i] = len[up[i]] + 1;
         for(i=0; i<size; i++) {
             dst[i] = len[up[i]] + 1;
-            if(dst[i] > 32) break;
+            if(dst[i] >= 32) break;
         }
         if(i==size) break;
     }