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
2d12b910
Commit
2d12b910
authored
Mar 27, 2017
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: use av_fourcc2str() where appropriate
parent
bec96a72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
pngdec.c
libavcodec/pngdec.c
+2
-5
vqavideo.c
libavcodec/vqavideo.c
+2
-6
No files found.
libavcodec/pngdec.c
View file @
2d12b910
...
...
@@ -1143,11 +1143,8 @@ static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
}
tag
=
bytestream2_get_le32
(
&
s
->
gb
);
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
),
((
tag
>>
24
)
&
0xff
),
length
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"png: tag=%s length=%u
\n
"
,
av_fourcc2str
(
tag
),
length
);
if
(
avctx
->
codec_id
==
AV_CODEC_ID_PNG
&&
avctx
->
skip_frame
==
AVDISCARD_ALL
)
{
...
...
libavcodec/vqavideo.c
View file @
2d12b910
...
...
@@ -384,12 +384,8 @@ static int vqa_decode_chunk(VqaContext *s, AVFrame *frame)
break
;
default:
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Found unknown chunk type: %c%c%c%c (%08X)
\n
"
,
(
chunk_type
>>
24
)
&
0xFF
,
(
chunk_type
>>
16
)
&
0xFF
,
(
chunk_type
>>
8
)
&
0xFF
,
(
chunk_type
>>
0
)
&
0xFF
,
chunk_type
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Found unknown chunk type: %s (%08X)
\n
"
,
av_fourcc2str
(
av_bswap32
(
chunk_type
)),
chunk_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