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
fb1bb97d
Commit
fb1bb97d
authored
Nov 21, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imgconvert-test: skip pix formats without name
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
64dc383d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
imgconvert.c
libavcodec/imgconvert.c
+1
-1
No files found.
libavcodec/imgconvert.c
View file @
fb1bb97d
...
...
@@ -637,7 +637,7 @@ int main(void){
for
(
i
=
0
;
i
<
AV_PIX_FMT_NB
*
2
;
i
++
)
{
AVPixFmtDescriptor
*
desc
=
av_pix_fmt_desc_get
(
i
);
if
(
!
desc
)
if
(
!
desc
||
!
desc
->
name
)
continue
;
av_log
(
0
,
AV_LOG_INFO
,
"pix fmt %s yuv_plan:%d avg_bpp:%d colortype:%d
\n
"
,
desc
->
name
,
is_yuv_planar
(
desc
),
av_get_padded_bits_per_pixel
(
desc
),
get_color_type
(
desc
));
if
((
!
(
desc
->
flags
&
PIX_FMT_ALPHA
))
!=
(
desc
->
nb_components
!=
2
&&
desc
->
nb_components
!=
4
))
{
...
...
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