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
6fcb4ae1
Commit
6fcb4ae1
authored
Apr 03, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/afade * biquads: call av_frame_copy_props()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0ab10f69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
af_afade.c
libavfilter/af_afade.c
+1
-1
af_biquads.c
libavfilter/af_biquads.c
+1
-1
No files found.
libavfilter/af_afade.c
View file @
6fcb4ae1
...
...
@@ -250,7 +250,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
out_buf
=
ff_get_audio_buffer
(
inlink
,
nb_samples
);
if
(
!
out_buf
)
return
AVERROR
(
ENOMEM
);
out_buf
->
pts
=
buf
->
pts
;
av_frame_copy_props
(
out_buf
,
buf
)
;
}
if
((
!
afade
->
type
&&
(
cur_sample
+
nb_samples
<
afade
->
start_sample
))
||
...
...
libavfilter/af_biquads.c
View file @
6fcb4ae1
...
...
@@ -406,7 +406,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
out_buf
=
ff_get_audio_buffer
(
inlink
,
nb_samples
);
if
(
!
out_buf
)
return
AVERROR
(
ENOMEM
);
out_buf
->
pts
=
buf
->
pts
;
av_frame_copy_props
(
out_buf
,
buf
)
;
}
for
(
ch
=
0
;
ch
<
av_frame_get_channels
(
buf
);
ch
++
)
...
...
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