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
9a18395b
Commit
9a18395b
authored
May 27, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2k/jpeg2000: merge a few whitespaces
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c2e94209
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
j2k.c
libavcodec/j2k.c
+8
-7
jpeg2000.c
libavcodec/jpeg2000.c
+1
-1
No files found.
libavcodec/j2k.c
View file @
9a18395b
...
...
@@ -431,14 +431,15 @@ void ff_j2k_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty)
for
(
bandno
=
0
;
bandno
<
reslevel
->
nbands
;
bandno
++
)
{
Jpeg2000Band
*
band
=
reslevel
->
band
+
bandno
;
for
(
precno
=
0
;
precno
<
reslevel
->
num_precincts_x
*
reslevel
->
num_precincts_y
;
precno
++
)
{
Jpeg2000Prec
*
prec
=
band
->
prec
+
precno
;
av_freep
(
&
prec
->
zerobits
);
av_freep
(
&
prec
->
cblkincl
);
av_freep
(
&
prec
->
cblk
);
}
av_freep
(
&
band
->
prec
);
for
(
precno
=
0
;
precno
<
reslevel
->
num_precincts_x
*
reslevel
->
num_precincts_y
;
precno
++
)
{
Jpeg2000Prec
*
prec
=
band
->
prec
+
precno
;
av_freep
(
&
prec
->
zerobits
);
av_freep
(
&
prec
->
cblkincl
);
av_freep
(
&
prec
->
cblk
);
}
av_freep
(
&
band
->
prec
);
}
av_freep
(
&
reslevel
->
band
);
}
...
...
libavcodec/jpeg2000.c
View file @
9a18395b
...
...
@@ -109,7 +109,7 @@ static int getsigctxno(int flag, int bandno)
if
(
v
==
1
)
return
3
;
if
(
d
>=
2
)
return
2
;
if
(
d
==
1
)
return
1
;
}
else
{
}
else
{
if
(
d
>=
3
)
return
8
;
if
(
d
==
2
)
{
if
(
h
+
v
>=
1
)
return
7
;
...
...
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