avfilter/asrc_sine: use AVFilterContext for logging
This commit is contained in:
parent
dcd378ad04
commit
96f860853e
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ static int activate(AVFilterContext *ctx)
|
|||
if (!ff_outlink_frame_wanted(outlink))
|
||||
return FFERROR_NOT_READY;
|
||||
if (nb_samples <= 0) {
|
||||
av_log(sine, AV_LOG_WARNING, "nb samples expression evaluated to %d, "
|
||||
av_log(ctx, AV_LOG_WARNING, "nb samples expression evaluated to %d, "
|
||||
"defaulting to 1024\n", nb_samples);
|
||||
nb_samples = 1024;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue