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
566560b8
Commit
566560b8
authored
Feb 03, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/abuffersink: fix weird indent and spacing
parent
b59cd089
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sink_buffer.c
libavfilter/sink_buffer.c
+4
-4
No files found.
libavfilter/sink_buffer.c
View file @
566560b8
...
...
@@ -300,7 +300,7 @@ static av_cold int asink_init(AVFilterContext *ctx, const char *args, void *opaq
AVABufferSinkParams
*
params
=
opaque
;
if
(
params
&&
params
->
sample_fmts
)
{
buf
->
sample_fmts
=
ff_copy_int_list
(
params
->
sample_fmts
);
buf
->
sample_fmts
=
ff_copy_int_list
(
params
->
sample_fmts
);
if
(
!
buf
->
sample_fmts
)
return
AVERROR
(
ENOMEM
);
}
...
...
@@ -342,9 +342,9 @@ static int asink_query_formats(AVFilterContext *ctx)
AVFilterChannelLayouts
*
layouts
=
NULL
;
if
(
buf
->
sample_fmts
)
{
if
(
!
(
formats
=
ff_make_format_list
(
buf
->
sample_fmts
)))
return
AVERROR
(
ENOMEM
);
ff_set_common_formats
(
ctx
,
formats
);
if
(
!
(
formats
=
ff_make_format_list
(
buf
->
sample_fmts
)))
return
AVERROR
(
ENOMEM
);
ff_set_common_formats
(
ctx
,
formats
);
}
if
(
buf
->
channel_layouts
||
buf
->
all_channel_counts
)
{
...
...
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