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
6adefeef
Commit
6adefeef
authored
May 20, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buffersrc: cosmetic: reindent.
parent
ea07063f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
buffersrc.c
libavfilter/buffersrc.c
+11
-12
No files found.
libavfilter/buffersrc.c
View file @
6adefeef
...
...
@@ -179,18 +179,17 @@ int av_buffersrc_add_ref(AVFilterContext *s, AVFilterBufferRef *buf, int flags)
return
ret
;
if
(
!
(
flags
&
AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT
))
{
/* TODO reindent */
switch
(
s
->
outputs
[
0
]
->
type
)
{
case
AVMEDIA_TYPE_VIDEO
:
CHECK_VIDEO_PARAM_CHANGE
(
s
,
c
,
buf
->
video
->
w
,
buf
->
video
->
h
,
buf
->
format
);
break
;
case
AVMEDIA_TYPE_AUDIO
:
CHECK_AUDIO_PARAM_CHANGE
(
s
,
c
,
buf
->
audio
->
sample_rate
,
buf
->
audio
->
channel_layout
,
buf
->
format
);
break
;
default:
return
AVERROR
(
EINVAL
);
}
switch
(
s
->
outputs
[
0
]
->
type
)
{
case
AVMEDIA_TYPE_VIDEO
:
CHECK_VIDEO_PARAM_CHANGE
(
s
,
c
,
buf
->
video
->
w
,
buf
->
video
->
h
,
buf
->
format
);
break
;
case
AVMEDIA_TYPE_AUDIO
:
CHECK_AUDIO_PARAM_CHANGE
(
s
,
c
,
buf
->
audio
->
sample_rate
,
buf
->
audio
->
channel_layout
,
buf
->
format
);
break
;
default:
return
AVERROR
(
EINVAL
);
}
}
if
(
!
(
flags
&
AV_BUFFERSRC_FLAG_NO_COPY
))
to_free
=
buf
=
copy_buffer_ref
(
s
,
buf
);
...
...
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