[FFmpeg-devel] [PATCH] avfilter/af_compand: %f is for printing doubles

Michael Niedermayer michaelni at gmx.at
Tue Jul 30 20:37:38 CEST 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavfilter/af_compand.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
index 8630cda..6cbfbf4 100644
--- a/libavfilter/af_compand.c
+++ b/libavfilter/af_compand.c
@@ -355,7 +355,7 @@ static int config_output(AVFilterLink *outlink)
             return AVERROR(EINVAL);
         }
         S(i).y -= S(i).x;
-        av_log(ctx, AV_LOG_DEBUG, "%d: x=%lf y=%lf\n", i, S(i).x, S(i).y);
+        av_log(ctx, AV_LOG_DEBUG, "%d: x=%f y=%f\n", i, S(i).x, S(i).y);
         new_nb_items++;
     }
     num = new_nb_items;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list