avfilter/vf_dctdnoiz: use AVFilterContext for logging

This commit is contained in:
Niklas Haas 2025-08-11 15:43:45 +02:00 committed by Niklas Haas
parent d84a21a023
commit b02d6fc556

View file

@ -632,7 +632,7 @@ static av_cold int init(AVFilterContext *ctx)
s->overlap = s->bsize - 1;
if (s->overlap > s->bsize - 1) {
av_log(s, AV_LOG_ERROR, "Overlap value can not except %d "
av_log(ctx, AV_LOG_ERROR, "Overlap value can not except %d "
"with a block size of %dx%d\n",
s->bsize - 1, s->bsize, s->bsize);
return AVERROR(EINVAL);