You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avfilter/asrc_afirsrc: use AVFilterContext for logging
This commit is contained in:
@@ -92,7 +92,7 @@ static av_cold int init(AVFilterContext *ctx)
|
|||||||
AudioFIRSourceContext *s = ctx->priv;
|
AudioFIRSourceContext *s = ctx->priv;
|
||||||
|
|
||||||
if (!(s->nb_taps & 1)) {
|
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;
|
s->nb_taps |= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user