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
ac025d6e
Commit
ac025d6e
authored
May 29, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2kdec: remove unused variables
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0abe923d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
j2kdec.c
libavcodec/j2kdec.c
+2
-4
No files found.
libavcodec/j2kdec.c
View file @
ac025d6e
...
...
@@ -917,7 +917,7 @@ static void mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
static
int
decode_tile
(
Jpeg2000DecoderContext
*
s
,
Jpeg2000Tile
*
tile
)
{
int
compno
,
reslevelno
,
bandno
;
int
x
,
y
,
*
src
[
4
]
;
int
x
,
y
;
uint8_t
*
line
;
Jpeg2000T1Context
t1
;
...
...
@@ -933,7 +933,7 @@ static int decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
for
(
bandno
=
0
;
bandno
<
rlevel
->
nbands
;
bandno
++
)
{
int
nb_precincts
,
precno
;
Jpeg2000Band
*
band
=
rlevel
->
band
+
bandno
;
int
cblk
x
,
cblky
,
cblk
no
=
0
,
bandpos
;
int
cblkno
=
0
,
bandpos
;
bandpos
=
bandno
+
(
reslevelno
>
0
);
...
...
@@ -948,7 +948,6 @@ static int decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
/* Loop on codeblocks */
for
(
cblkno
=
0
;
cblkno
<
prec
->
nb_codeblocks_width
*
prec
->
nb_codeblocks_height
;
cblkno
++
)
{
int
x
,
y
;
int
i
,
j
;
Jpeg2000Cblk
*
cblk
=
prec
->
cblk
+
cblkno
;
decode_cblk
(
s
,
codsty
,
&
t1
,
cblk
,
cblk
->
coord
[
0
][
1
]
-
cblk
->
coord
[
0
][
0
],
...
...
@@ -969,7 +968,6 @@ static int decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
}
/* end reslevel */
ff_dwt_decode
(
&
comp
->
dwt
,
comp
->
data
);
src
[
compno
]
=
comp
->
data
;
}
/*end comp */
/* inverse MCT transformation */
...
...
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