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
cb9fe274
Commit
cb9fe274
authored
Mar 30, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2kdec: fix format strings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3ebfe22d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
j2kdec.c
libavcodec/j2kdec.c
+2
-2
No files found.
libavcodec/j2kdec.c
View file @
cb9fe274
...
@@ -925,7 +925,7 @@ static int decode_codestream(J2kDecoderContext *s)
...
@@ -925,7 +925,7 @@ static int decode_codestream(J2kDecoderContext *s)
}
}
marker
=
bytestream2_get_be16u
(
&
s
->
g
);
marker
=
bytestream2_get_be16u
(
&
s
->
g
);
av_dlog
(
s
->
avctx
,
"marker 0x%.4X at pos 0x%
t
x
\n
"
,
marker
,
bytestream2_tell
(
&
s
->
g
)
-
4
);
av_dlog
(
s
->
avctx
,
"marker 0x%.4X at pos 0x%x
\n
"
,
marker
,
bytestream2_tell
(
&
s
->
g
)
-
4
);
oldpos
=
bytestream2_tell
(
&
s
->
g
);
oldpos
=
bytestream2_tell
(
&
s
->
g
);
if
(
marker
==
J2K_SOD
){
if
(
marker
==
J2K_SOD
){
...
@@ -974,7 +974,7 @@ static int decode_codestream(J2kDecoderContext *s)
...
@@ -974,7 +974,7 @@ static int decode_codestream(J2kDecoderContext *s)
bytestream2_skip
(
&
s
->
g
,
len
-
2
);
bytestream2_skip
(
&
s
->
g
,
len
-
2
);
break
;
break
;
default:
default:
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"unsupported marker 0x%.4X at pos 0x%
t
x
\n
"
,
marker
,
bytestream2_tell
(
&
s
->
g
)
-
4
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"unsupported marker 0x%.4X at pos 0x%x
\n
"
,
marker
,
bytestream2_tell
(
&
s
->
g
)
-
4
);
bytestream2_skip
(
&
s
->
g
,
len
-
2
);
bytestream2_skip
(
&
s
->
g
,
len
-
2
);
break
;
break
;
}
}
...
...
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