]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/af_crystalizer: use proper type for variable
authorPaul B Mahol <onemda@gmail.com>
Mon, 21 Dec 2020 10:57:24 +0000 (11:57 +0100)
committerPaul B Mahol <onemda@gmail.com>
Mon, 21 Dec 2020 11:00:21 +0000 (12:00 +0100)
libavfilter/af_crystalizer.c

index 778357f9b7aeae7cad6939741b93e362b7619fe7..5f7bce0a8c3d710da1c3ed36bfcd37593f9f6029 100644 (file)
@@ -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;