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
9ef3193d
Commit
9ef3193d
authored
May 30, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove constant argument.
Originally committed as revision 13564 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f76605e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
mpeg12.c
libavcodec/mpeg12.c
+4
-7
No files found.
libavcodec/mpeg12.c
View file @
9ef3193d
...
...
@@ -80,18 +80,15 @@ static const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
uint8_t
ff_mpeg12_static_rl_table_store
[
2
][
2
][
2
*
MAX_RUN
+
MAX_LEVEL
+
3
];
static
void
init_2d_vlc_rl
(
RLTable
*
rl
,
int
use_static
)
static
void
init_2d_vlc_rl
(
RLTable
*
rl
)
{
int
i
;
init_vlc
(
&
rl
->
vlc
,
TEX_VLC_BITS
,
rl
->
n
+
2
,
&
rl
->
table_vlc
[
0
][
1
],
4
,
2
,
&
rl
->
table_vlc
[
0
][
0
],
4
,
2
,
use_static
);
&
rl
->
table_vlc
[
0
][
0
],
4
,
2
,
1
);
if
(
use_static
)
rl
->
rl_vlc
[
0
]
=
av_mallocz_static
(
rl
->
vlc
.
table_size
*
sizeof
(
RL_VLC_ELEM
));
else
rl
->
rl_vlc
[
0
]
=
av_malloc
(
rl
->
vlc
.
table_size
*
sizeof
(
RL_VLC_ELEM
));
for
(
i
=
0
;
i
<
rl
->
vlc
.
table_size
;
i
++
){
int
code
=
rl
->
vlc
.
table
[
i
][
0
];
...
...
@@ -181,8 +178,8 @@ static void init_vlcs(void)
init_rl
(
&
ff_rl_mpeg1
,
ff_mpeg12_static_rl_table_store
[
0
]);
init_rl
(
&
ff_rl_mpeg2
,
ff_mpeg12_static_rl_table_store
[
1
]);
init_2d_vlc_rl
(
&
ff_rl_mpeg1
,
1
);
init_2d_vlc_rl
(
&
ff_rl_mpeg2
,
1
);
init_2d_vlc_rl
(
&
ff_rl_mpeg1
);
init_2d_vlc_rl
(
&
ff_rl_mpeg2
);
}
}
...
...
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