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
aa0d11ed
Commit
aa0d11ed
authored
May 28, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jpeg2000dec: remove unneeded returns
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f7129ab9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
jpeg2000dec.c
libavcodec/jpeg2000dec.c
+0
-2
No files found.
libavcodec/jpeg2000dec.c
View file @
aa0d11ed
...
@@ -932,7 +932,6 @@ static void dequantization_float(int x, int y, Jpeg2000Cblk *cblk,
...
@@ -932,7 +932,6 @@ static void dequantization_float(int x, int y, Jpeg2000Cblk *cblk,
idx
=
(
comp
->
coord
[
0
][
1
]
-
comp
->
coord
[
0
][
0
])
*
j
+
i
;
idx
=
(
comp
->
coord
[
0
][
1
]
-
comp
->
coord
[
0
][
0
])
*
j
+
i
;
datap
[
idx
]
=
(
float
)(
t1
->
data
[
j
][
i
])
*
((
float
)
band
->
stepsize
);
datap
[
idx
]
=
(
float
)(
t1
->
data
[
j
][
i
])
*
((
float
)
band
->
stepsize
);
}
}
return
;
}
}
/* Integer dequantization of a codeblock.*/
/* Integer dequantization of a codeblock.*/
...
@@ -949,7 +948,6 @@ static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,
...
@@ -949,7 +948,6 @@ static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,
datap
[
idx
]
=
datap
[
idx
]
=
((
int32_t
)(
t1
->
data
[
j
][
i
])
*
((
int32_t
)
band
->
stepsize
)
+
(
1
<<
15
))
>>
16
;
((
int32_t
)(
t1
->
data
[
j
][
i
])
*
((
int32_t
)
band
->
stepsize
)
+
(
1
<<
15
))
>>
16
;
}
}
return
;
}
}
/* Inverse ICT parameters in float and integer.
/* Inverse ICT parameters in float and integer.
...
...
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