Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
bd404e39
Commit
bd404e39
authored
May 10, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: workaround nonsense limitation in vector_fmul_scalar()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
6655939f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
af_afir.c
libavfilter/af_afir.c
+2
-2
No files found.
libavfilter/af_afir.c
View file @
bd404e39
...
...
@@ -68,7 +68,7 @@ static int fir_channel(AVFilterContext *ctx, void *arg, int ch, int nb_jobs)
block
=
s
->
block
[
ch
]
+
s
->
part_index
*
s
->
block_size
;
memset
(
block
,
0
,
sizeof
(
*
block
)
*
s
->
fft_length
);
s
->
fdsp
->
vector_fmul_scalar
(
block
+
s
->
part_size
,
src
,
s
->
dry_gain
,
s
->
nb_samples
);
s
->
fdsp
->
vector_fmul_scalar
(
block
+
s
->
part_size
,
src
,
s
->
dry_gain
,
FFALIGN
(
s
->
nb_samples
,
4
)
);
emms_c
();
av_rdft_calc
(
s
->
rdft
[
ch
],
block
);
...
...
@@ -105,7 +105,7 @@ static int fir_channel(AVFilterContext *ctx, void *arg, int ch, int nb_jobs)
if
(
out
)
{
float
*
ptr
=
(
float
*
)
out
->
extended_data
[
ch
];
s
->
fdsp
->
vector_fmul_scalar
(
ptr
,
dst
,
s
->
gain
*
s
->
wet_gain
,
out
->
nb_samples
);
s
->
fdsp
->
vector_fmul_scalar
(
ptr
,
dst
,
s
->
gain
*
s
->
wet_gain
,
FFALIGN
(
out
->
nb_samples
,
4
)
);
emms_c
();
}
...
...
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