diff options
-rw-r--r-- | libavfilter/avf_showcqt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index d6e2928d7d..712a9997fe 100644 --- a/libavfilter/avf_showcqt.c +++ b/libavfilter/avf_showcqt.c @@ -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); |