Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d45b771c
Commit
d45b771c
authored
Jun 25, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huffyuv: make VLAs fixed size
Originally committed as revision 23784 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4af8cdfc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
huffyuv.c
libavcodec/huffyuv.c
+3
-3
No files found.
libavcodec/huffyuv.c
View file @
d45b771c
...
@@ -232,9 +232,9 @@ static void heap_sift(HeapElem *h, int root, int size)
...
@@ -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
){
static
void
generate_len_table
(
uint8_t
*
dst
,
const
uint64_t
*
stats
,
int
size
){
HeapElem
h
[
size
];
HeapElem
h
[
256
];
int
up
[
2
*
size
];
int
up
[
2
*
256
];
int
len
[
2
*
size
];
int
len
[
2
*
256
];
int
offset
,
i
,
next
;
int
offset
,
i
,
next
;
for
(
offset
=
1
;
;
offset
<<=
1
){
for
(
offset
=
1
;
;
offset
<<=
1
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment