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
f1622a17
Commit
f1622a17
authored
Dec 20, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/lavfi: reindent block in lavfi_read_header
parent
4d475f7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
lavfi.c
libavdevice/lavfi.c
+11
-11
No files found.
libavdevice/lavfi.c
View file @
f1622a17
...
...
@@ -187,22 +187,22 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx,
}
if
(
type
==
AVMEDIA_TYPE_VIDEO
)
{
AVBufferSinkParams
*
buffersink_params
=
av_buffersink_params_alloc
();
AVBufferSinkParams
*
buffersink_params
=
av_buffersink_params_alloc
();
#if FF_API_OLD_VSINK_API
ret
=
avfilter_graph_create_filter
(
&
sink
,
buffersink
,
inout
->
name
,
NULL
,
pix_fmts
,
lavfi
->
graph
);
ret
=
avfilter_graph_create_filter
(
&
sink
,
buffersink
,
inout
->
name
,
NULL
,
pix_fmts
,
lavfi
->
graph
);
#else
buffersink_params
->
pixel_fmts
=
pix_fmts
;
ret
=
avfilter_graph_create_filter
(
&
sink
,
buffersink
,
inout
->
name
,
NULL
,
buffersink_params
,
lavfi
->
graph
);
buffersink_params
->
pixel_fmts
=
pix_fmts
;
ret
=
avfilter_graph_create_filter
(
&
sink
,
buffersink
,
inout
->
name
,
NULL
,
buffersink_params
,
lavfi
->
graph
);
#endif
av_freep
(
&
buffersink_params
);
av_freep
(
&
buffersink_params
);
if
(
ret
<
0
)
goto
end
;
if
(
ret
<
0
)
goto
end
;
}
else
if
(
type
==
AVMEDIA_TYPE_AUDIO
)
{
enum
AVSampleFormat
sample_fmts
[]
=
{
AV_SAMPLE_FMT_S16
,
-
1
};
const
int
packing_fmts
[]
=
{
AVFILTER_PACKED
,
-
1
};
...
...
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