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
602e97df
Commit
602e97df
authored
Jan 19, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pngdec: Add some FF_DEBUG based av_logs.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
657878f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
pngdec.c
libavcodec/pngdec.c
+4
-2
No files found.
libavcodec/pngdec.c
View file @
602e97df
...
...
@@ -430,7 +430,8 @@ static int decode_frame(AVCodecContext *avctx,
goto
fail
;
tag32
=
bytestream_get_be32
(
&
s
->
bytestream
);
tag
=
av_bswap32
(
tag32
);
av_dlog
(
avctx
,
"png: tag=%c%c%c%c length=%u
\n
"
,
if
(
avctx
->
debug
&
FF_DEBUG_STARTCODE
)
av_log
(
avctx
,
AV_LOG_DEBUG
,
"png: tag=%c%c%c%c length=%u
\n
"
,
(
tag
&
0xff
),
((
tag
>>
8
)
&
0xff
),
((
tag
>>
16
)
&
0xff
),
...
...
@@ -452,7 +453,8 @@ static int decode_frame(AVCodecContext *avctx,
s
->
interlace_type
=
*
s
->
bytestream
++
;
s
->
bytestream
+=
4
;
/* crc */
s
->
state
|=
PNG_IHDR
;
av_dlog
(
avctx
,
"width=%d height=%d depth=%d color_type=%d compression_type=%d filter_type=%d interlace_type=%d
\n
"
,
if
(
avctx
->
debug
&
FF_DEBUG_PICT_INFO
)
av_log
(
avctx
,
AV_LOG_DEBUG
,
"width=%d height=%d depth=%d color_type=%d compression_type=%d filter_type=%d interlace_type=%d
\n
"
,
s
->
width
,
s
->
height
,
s
->
bit_depth
,
s
->
color_type
,
s
->
compression_type
,
s
->
filter_type
,
s
->
interlace_type
);
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