avfilter/asrc_afirsrc: use AVFilterContext for logging

This commit is contained in:
Niklas Haas authored and Niklas Haas committed 2025-08-12 09:01:39 +00:00
1 parent 4cc71fb806
commit 2e8d3548e1
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ static av_cold int init(AVFilterContext *ctx)
AudioFIRSourceContext *s = ctx->priv;
if (!(s->nb_taps & 1)) {
av_log(s, AV_LOG_WARNING, "Number of taps %d must be odd length.\n", s->nb_taps);
av_log(ctx, AV_LOG_WARNING, "Number of taps %d must be odd length.\n", s->nb_taps);
s->nb_taps |= 1;
}