Browse Source

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

Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Loren Merritt 18 years ago
parent
commit
2bf4aa2e93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/huffyuv.c

+ 1
- 1
libavcodec/huffyuv.c 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;
}


Loading…
Cancel
Save