[FFmpeg-cvslog] r9921 - trunk/libavcodec/huffyuv.c
lorenm
subversion
Sun Aug 5 02:29:02 CEST 2007
Author: lorenm
Date: Sun Aug 5 02:29:02 2007
New Revision: 9921
Log:
prevent huffyuv from generating codewords of length 32. (regression in r9069)
Modified:
trunk/libavcodec/huffyuv.c
Modified: trunk/libavcodec/huffyuv.c
==============================================================================
--- trunk/libavcodec/huffyuv.c (original)
+++ trunk/libavcodec/huffyuv.c Sun Aug 5 02:29:02 2007
@@ -312,7 +312,7 @@ static void generate_len_table(uint8_t *
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;
}
More information about the ffmpeg-cvslog
mailing list