Commit 2bf4aa2e authored by Loren Merritt's avatar Loren Merritt

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

Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c49c0223
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment