You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user