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

Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Loren Merritt 18 years ago
parent c49c02231c
commit 2bf4aa2e93
  1. 2
      libavcodec/huffyuv.c

@ -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;
}

Loading…
Cancel
Save