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
d634aa20
Commit
d634aa20
authored
May 13, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused variable
Originally committed as revision 5371 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a443a253
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
mpeg12.c
libavcodec/mpeg12.c
+2
-4
No files found.
libavcodec/mpeg12.c
View file @
d634aa20
...
...
@@ -94,7 +94,6 @@ const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
static
uint8_t
(
*
mv_penalty
)[
MAX_MV
*
2
+
1
]
=
NULL
;
static
uint8_t
fcode_tab
[
MAX_MV
*
2
+
1
];
static
uint32_t
uni_mpeg1_ac_vlc_bits
[
64
*
64
*
2
];
static
uint8_t
uni_mpeg1_ac_vlc_len
[
64
*
64
*
2
];
/* simple include everything table for dc, first byte is bits number next 3 are code*/
...
...
@@ -148,7 +147,7 @@ static void init_2d_vlc_rl(RLTable *rl, int use_static)
}
#ifdef CONFIG_ENCODERS
static
void
init_uni_ac_vlc
(
RLTable
*
rl
,
uint
32_t
*
uni_ac_vlc_bits
,
uint
8_t
*
uni_ac_vlc_len
){
static
void
init_uni_ac_vlc
(
RLTable
*
rl
,
uint8_t
*
uni_ac_vlc_len
){
int
i
;
for
(
i
=
0
;
i
<
128
;
i
++
){
...
...
@@ -188,7 +187,6 @@ static void init_uni_ac_vlc(RLTable *rl, uint32_t *uni_ac_vlc_bits, uint8_t *uni
}
}
uni_ac_vlc_bits
[
UNI_AC_ENC_INDEX
(
run
,
i
)]
=
bits
;
uni_ac_vlc_len
[
UNI_AC_ENC_INDEX
(
run
,
i
)]
=
len
;
}
}
...
...
@@ -775,7 +773,7 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
mpeg1_index_run
[
0
][
i
]
=
rl_mpeg1
.
index_run
[
0
][
i
];
}
init_uni_ac_vlc
(
&
rl_mpeg1
,
uni_mpeg1_ac_vlc_
bits
,
uni_mpeg1_ac_vlc_
len
);
init_uni_ac_vlc
(
&
rl_mpeg1
,
uni_mpeg1_ac_vlc_len
);
/* build unified dc encoding tables */
for
(
i
=-
255
;
i
<
256
;
i
++
)
...
...
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