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
796cea09
Commit
796cea09
authored
Jun 24, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp6: convert VLA to fixed size
Originally committed as revision 23754 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
89c7d805
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vp6.c
libavcodec/vp6.c
+2
-1
No files found.
libavcodec/vp6.c
View file @
796cea09
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include "vp56data.h"
#include "vp56data.h"
#include "vp6data.h"
#include "vp6data.h"
#define VP6_MAX_HUFF_SIZE 12
static
void
vp6_parse_coeff
(
VP56Context
*
s
);
static
void
vp6_parse_coeff
(
VP56Context
*
s
);
static
void
vp6_parse_coeff_huffman
(
VP56Context
*
s
);
static
void
vp6_parse_coeff_huffman
(
VP56Context
*
s
);
...
@@ -215,7 +216,7 @@ static int vp6_huff_cmp(const void *va, const void *vb)
...
@@ -215,7 +216,7 @@ static int vp6_huff_cmp(const void *va, const void *vb)
static
void
vp6_build_huff_tree
(
VP56Context
*
s
,
uint8_t
coeff_model
[],
static
void
vp6_build_huff_tree
(
VP56Context
*
s
,
uint8_t
coeff_model
[],
const
uint8_t
*
map
,
unsigned
size
,
VLC
*
vlc
)
const
uint8_t
*
map
,
unsigned
size
,
VLC
*
vlc
)
{
{
Node
nodes
[
2
*
size
],
*
tmp
=
&
nodes
[
size
];
Node
nodes
[
2
*
VP6_MAX_HUFF_SIZE
],
*
tmp
=
&
nodes
[
size
];
int
a
,
b
,
i
;
int
a
,
b
,
i
;
/* first compute probabilities from model */
/* first compute probabilities from model */
...
...
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