prevent huffyuv from generating codewords of length 32. (regression in r9069)

Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loren Merritt 2007-08-05 00:29:02 +00:00
parent c49c02231c
commit 2bf4aa2e93
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ static void generate_len_table(uint8_t *dst, uint64_t *stats, int size){
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;
}