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
78365839
Commit
78365839
authored
11 years ago
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2kdec: s/j2k_/jpeg2000_/
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4a85390d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
j2kdec.c
libavcodec/j2kdec.c
+3
-3
No files found.
libavcodec/j2kdec.c
View file @
78365839
...
...
@@ -101,7 +101,7 @@ static int get_bits(Jpeg2000DecoderContext *s, int n)
return
res
;
}
static
void
j
2k
_flush
(
Jpeg2000DecoderContext
*
s
)
static
void
j
peg2000
_flush
(
Jpeg2000DecoderContext
*
s
)
{
if
(
bytestream2_get_byte
(
&
s
->
g
)
==
0xff
)
bytestream2_skip
(
&
s
->
g
,
1
);
...
...
@@ -560,7 +560,7 @@ static int decode_packet(Jpeg2000DecoderContext *s,
int
bandno
,
cblkno
,
ret
,
nb_code_blocks
;
if
(
!
(
ret
=
get_bits
(
s
,
1
)))
{
j
2k
_flush
(
s
);
j
peg2000
_flush
(
s
);
return
0
;
}
else
if
(
ret
<
0
)
return
ret
;
...
...
@@ -603,7 +603,7 @@ static int decode_packet(Jpeg2000DecoderContext *s,
cblk
->
npasses
+=
newpasses
;
}
}
j
2k
_flush
(
s
);
j
peg2000
_flush
(
s
);
if
(
codsty
->
csty
&
JPEG2000_CSTY_EPH
)
{
if
(
bytestream2_peek_be16
(
&
s
->
g
)
==
JPEG2000_EPH
)
...
...
This diff is collapsed.
Click to expand it.
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