ffmpeg | branch: master | Paul B Mahol <[email protected]> | Tue Dec 25 23:26:49 
2018 +0100| [8e4e2c9e40b1839c74b3b4a6485f272c7f32b284] | committer: Paul B Mahol

avfilter/af_sofalizer: use float constants

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

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

diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
index 3b60969d68..02c0409043 100644
--- a/libavfilter/af_sofalizer.c
+++ b/libavfilter/af_sofalizer.c
@@ -152,7 +152,7 @@ static int preload_sofa(AVFilterContext *ctx, char 
*filename, int *samplingrate)
         mysofa_loudness(s->sofa.hrtf);
 
     if (s->minphase)
-        mysofa_minphase(s->sofa.hrtf, 0.01);
+        mysofa_minphase(s->sofa.hrtf, 0.01f);
 
     mysofa_tocartesian(s->sofa.hrtf);
 
@@ -466,7 +466,7 @@ static int sofalizer_fast_convolute(AVFilterContext *ctx, 
void *arg, int jobnr,
     for (j = 0; j < n_read; j++) {
         /* initialize output buf with saved signal from overflow buf */
         dst[mult * j]  = ringbuffer[wr];
-        ringbuffer[wr] = 0.0; /* re-set read samples to zero */
+        ringbuffer[wr] = 0.0f; /* re-set read samples to zero */
         /* update ringbuffer read/write position */
         wr  = (wr + 1) & modulo;
     }

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to