mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avfilter/asrc_hilbert: use AVFilterContext for logging
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user