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
84417593
Commit
84417593
authored
May 22, 2016
by
dsmudhar
Committed by
Michael Niedermayer
May 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec/cfhd: fixed wrong printf format
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
5836a503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cfhd.c
libavcodec/cfhd.c
+3
-3
No files found.
libavcodec/cfhd.c
View file @
84417593
...
@@ -343,7 +343,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -343,7 +343,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
}
}
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Transform-type? %"
PRIu16
"
\n
"
,
data
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Transform-type? %"
PRIu16
"
\n
"
,
data
);
}
else
if
(
abstag
>=
0x4000
&&
abstag
<=
0x40ff
)
{
}
else
if
(
abstag
>=
0x4000
&&
abstag
<=
0x40ff
)
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Small chunk length %
"
PRIu16
"
%s
\n
"
,
data
*
4
,
tag
<
0
?
"optional"
:
"required"
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Small chunk length %
d
%s
\n
"
,
data
*
4
,
tag
<
0
?
"optional"
:
"required"
);
bytestream2_skipu
(
&
gb
,
data
*
4
);
bytestream2_skipu
(
&
gb
,
data
*
4
);
}
else
if
(
tag
==
23
)
{
}
else
if
(
tag
==
23
)
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Skip frame
\n
"
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Skip frame
\n
"
);
...
@@ -469,7 +469,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -469,7 +469,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
goto
end
;
goto
end
;
}
}
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Start of lowpass coeffs component %
"
PRIu16
"
height:%d, width:%d
\n
"
,
s
->
channel_num
,
lowpass_height
,
lowpass_width
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Start of lowpass coeffs component %
d
height:%d, width:%d
\n
"
,
s
->
channel_num
,
lowpass_height
,
lowpass_width
);
for
(
i
=
0
;
i
<
lowpass_height
;
i
++
)
{
for
(
i
=
0
;
i
<
lowpass_height
;
i
++
)
{
for
(
j
=
0
;
j
<
lowpass_width
;
j
++
)
for
(
j
=
0
;
j
<
lowpass_width
;
j
++
)
coeff_data
[
j
]
=
bytestream2_get_be16u
(
&
gb
);
coeff_data
[
j
]
=
bytestream2_get_be16u
(
&
gb
);
...
@@ -487,7 +487,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -487,7 +487,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
lowpass_width
*
sizeof
(
*
coeff_data
));
lowpass_width
*
sizeof
(
*
coeff_data
));
}
}
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Lowpass coefficients %
"
PRIu16
"
\n
"
,
lowpass_width
*
lowpass_height
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Lowpass coefficients %
d
\n
"
,
lowpass_width
*
lowpass_height
);
}
}
if
(
tag
==
55
&&
s
->
subband_num_actual
!=
255
&&
s
->
a_width
&&
s
->
a_height
)
{
if
(
tag
==
55
&&
s
->
subband_num_actual
!=
255
&&
s
->
a_width
&&
s
->
a_height
)
{
...
...
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