[FFmpeg-cvslog] avfilter/af_crystalizer: use proper type for variable

Paul B Mahol git at videolan.org
Mon Dec 21 13:01:05 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 21 11:57:24 2020 +0100| [28aedc7f54cd5aca5161e65493795f34050f6d7d] | committer: Paul B Mahol

avfilter/af_crystalizer: use proper type for variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=28aedc7f54cd5aca5161e65493795f34050f6d7d
---

 libavfilter/af_crystalizer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/af_crystalizer.c b/libavfilter/af_crystalizer.c
index 778357f9b7..5f7bce0a8c 100644
--- a/libavfilter/af_crystalizer.c
+++ b/libavfilter/af_crystalizer.c
@@ -126,7 +126,7 @@ static int filter_dbl(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
     const void **s = td->s;
     const int nb_samples = td->nb_samples;
     const int channels = td->channels;
-    float mult = td->mult;
+    double mult = td->mult;
     const int clip = td->clip;
     const int start = (channels * jobnr) / nb_jobs;
     const int end = (channels * (jobnr+1)) / nb_jobs;
@@ -195,7 +195,7 @@ static int filter_dblp(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
     const void **s = td->s;
     const int nb_samples = td->nb_samples;
     const int channels = td->channels;
-    float mult = td->mult;
+    double mult = td->mult;
     const int clip = td->clip;
     const int start = (channels * jobnr) / nb_jobs;
     const int end = (channels * (jobnr+1)) / nb_jobs;



More information about the ffmpeg-cvslog mailing list