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
b872b98b
Commit
b872b98b
authored
Mar 07, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/extractplanes: Move endianness calculation up.
Needed for next commit.
parent
4737fe69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vf_extractplanes.c
libavfilter/vf_extractplanes.c
+4
-4
No files found.
libavfilter/vf_extractplanes.c
View file @
b872b98b
...
@@ -106,14 +106,14 @@ static int query_formats(AVFilterContext *ctx)
...
@@ -106,14 +106,14 @@ static int query_formats(AVFilterContext *ctx)
return
AVERROR
(
EAGAIN
);
return
AVERROR
(
EAGAIN
);
}
}
if
(
!
ctx
->
inputs
[
0
]
->
out_formats
)
if
((
ret
=
ff_formats_ref
(
ff_make_format_list
(
in_pixfmts
),
&
ctx
->
inputs
[
0
]
->
out_formats
))
<
0
)
return
ret
;
avff
=
ctx
->
inputs
[
0
]
->
in_formats
;
avff
=
ctx
->
inputs
[
0
]
->
in_formats
;
desc
=
av_pix_fmt_desc_get
(
avff
->
formats
[
0
]);
desc
=
av_pix_fmt_desc_get
(
avff
->
formats
[
0
]);
depth
=
desc
->
comp
[
0
].
depth
;
depth
=
desc
->
comp
[
0
].
depth
;
be
=
desc
->
flags
&
AV_PIX_FMT_FLAG_BE
;
be
=
desc
->
flags
&
AV_PIX_FMT_FLAG_BE
;
if
(
!
ctx
->
inputs
[
0
]
->
out_formats
)
if
((
ret
=
ff_formats_ref
(
ff_make_format_list
(
in_pixfmts
),
&
ctx
->
inputs
[
0
]
->
out_formats
))
<
0
)
return
ret
;
for
(
i
=
1
;
i
<
avff
->
nb_formats
;
i
++
)
{
for
(
i
=
1
;
i
<
avff
->
nb_formats
;
i
++
)
{
desc
=
av_pix_fmt_desc_get
(
avff
->
formats
[
i
]);
desc
=
av_pix_fmt_desc_get
(
avff
->
formats
[
i
]);
if
(
depth
!=
desc
->
comp
[
0
].
depth
||
if
(
depth
!=
desc
->
comp
[
0
].
depth
||
...
...
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