This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/af_anlmdn: try to recover when cache becomes negative
tags/n4.2
Paul B Mahol
6 years ago
parent
b535577465
commit
1a266a1ef9
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
libavfilter/af_anlmdn.c
+ 4
- 1
libavfilter/af_anlmdn.c
View File
@@ -224,7 +224,10 @@ static int filter_channel(AVFilterContext *ctx, void *arg, int ch, int nb_jobs)
unsigned weight_lut_idx;
float w;
av_assert2(distance >= 0.f);
if (distance < 0.f) {
cache[j] = 0.f;
continue;
}
w = distance * sw;
if (w >= smooth)
continue;
Write
Preview
Loading…
Cancel
Save