avfilter/asrc_hilbert: use AVFilterContext for logging

This commit is contained in:
Niklas Haas
2025-08-11 15:27:30 +02:00
committed by Niklas Haas
parent 2e8d3548e1
commit d360c212af

View File

@@ -61,7 +61,7 @@ static av_cold int init(AVFilterContext *ctx)
HilbertContext *s = ctx->priv;
if (!(s->nb_taps & 1)) {
av_log(s, AV_LOG_ERROR, "Number of taps %d must be odd length.\n", s->nb_taps);
av_log(ctx, AV_LOG_ERROR, "Number of taps %d must be odd length.\n", s->nb_taps);
return AVERROR(EINVAL);
}