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
0ee440fe
Commit
0ee440fe
authored
Dec 13, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asyncts: cosmetics: reindent
parent
b35e5d98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
af_asyncts.c
libavfilter/af_asyncts.c
+12
-12
No files found.
libavfilter/af_asyncts.c
View file @
0ee440fe
...
...
@@ -158,19 +158,19 @@ static int request_frame(AVFilterLink *link)
handle_trimming
(
ctx
);
if
(
nb_samples
=
get_delay
(
s
))
{
AVFilterBufferRef
*
buf
=
ff_get_audio_buffer
(
link
,
AV_PERM_WRITE
,
nb_samples
);
if
(
!
buf
)
return
AVERROR
(
ENOMEM
);
ret
=
avresample_convert
(
s
->
avr
,
buf
->
extended_data
,
buf
->
linesize
[
0
],
nb_samples
,
NULL
,
0
,
0
);
if
(
ret
<=
0
)
{
avfilter_unref_bufferp
(
&
buf
);
return
(
ret
<
0
)
?
ret
:
AVERROR_EOF
;
}
AVFilterBufferRef
*
buf
=
ff_get_audio_buffer
(
link
,
AV_PERM_WRITE
,
nb_samples
);
if
(
!
buf
)
return
AVERROR
(
ENOMEM
);
ret
=
avresample_convert
(
s
->
avr
,
buf
->
extended_data
,
buf
->
linesize
[
0
],
nb_samples
,
NULL
,
0
,
0
);
if
(
ret
<=
0
)
{
avfilter_unref_bufferp
(
&
buf
);
return
(
ret
<
0
)
?
ret
:
AVERROR_EOF
;
}
buf
->
pts
=
s
->
pts
;
return
ff_filter_frame
(
link
,
buf
);
buf
->
pts
=
s
->
pts
;
return
ff_filter_frame
(
link
,
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