]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avf_showcqt.c
Merge commit '2c6811397bdf13d43ca206e48d6d6da9c2cd47c6'
[ffmpeg] / libavfilter / avf_showcqt.c
index d6e2928d7dd34503b4febeeb0a473c6075b691af..712a9997fe670ece882485b28911b6083159e770 100644 (file)
@@ -466,7 +466,7 @@ static int init_axis_color(ShowCQTContext *s, AVFrame *tmp)
     double *freq = NULL;
     int x, y, ret;
 
-    if (s->basefreq != BASEFREQ || s->endfreq != ENDFREQ) {
+    if (s->basefreq != (double) BASEFREQ || s->endfreq != (double) ENDFREQ) {
         av_log(s->ctx, AV_LOG_WARNING, "font axis rendering is not implemented in non-default frequency range,"
                " please use axisfile option instead.\n");
         return AVERROR(EINVAL);