This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
huffyuv: make VLAs fixed size
Originally committed as revision 23784 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård
15 years ago
parent
4af8cdfc3f
commit
d45b771ca0
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
libavcodec/huffyuv.c
+ 3
- 3
libavcodec/huffyuv.c
View File
@@ -232,9 +232,9 @@ static void heap_sift(HeapElem *h, int root, int size)
}
static void generate_len_table(uint8_t *dst, const uint64_t *stats, int size){
HeapElem h[
size
];
int up[2*
size
];
int len[2*
size
];
HeapElem h[
256
];
int up[2*
256
];
int len[2*
256
];
int offset, i, next;
for(offset=1; ; offset<<=1){
Write
Preview
Loading…
Cancel
Save