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
9bfb72d9
Commit
9bfb72d9
authored
Jun 25, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv34: kill VLAs
Originally committed as revision 23774 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c47f567c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
rv34.c
libavcodec/rv34.c
+2
-2
rv34vlc.h
libavcodec/rv34vlc.h
+1
-0
No files found.
libavcodec/rv34.c
View file @
9bfb72d9
...
...
@@ -103,8 +103,8 @@ static void rv34_gen_vlc(const uint8_t *bits, int size, VLC *vlc, const uint8_t
{
int
i
;
int
counts
[
17
]
=
{
0
},
codes
[
17
];
uint16_t
cw
[
size
],
syms
[
size
];
uint8_t
bits2
[
size
];
uint16_t
cw
[
MAX_VLC_SIZE
],
syms
[
MAX_VLC_SIZE
];
uint8_t
bits2
[
MAX_VLC_SIZE
];
int
maxbits
=
0
,
realsize
=
0
;
for
(
i
=
0
;
i
<
size
;
i
++
){
...
...
libavcodec/rv34vlc.h
View file @
9bfb72d9
...
...
@@ -37,6 +37,7 @@
#define FIRSTBLK_VLC_SIZE 864
#define OTHERBLK_VLC_SIZE 108
#define COEFF_VLC_SIZE 32
#define MAX_VLC_SIZE 1296
static
const
uint8_t
rv34_table_intra_cbppat
[
NUM_INTRA_TABLES
][
2
][
CBPPAT_VLC_SIZE
]
=
{
{
...
...
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