X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_compensationdelay.c;h=f2e0dcd467fe5b09b4f797260af5f7f9b2d033f8;hb=a04ad248a05e7b613abe09b3bb067f555108d794;hp=793332584bdb395874ca3d2f58ed42e3ad4ef530;hpb=f30a41a6086eb8c10f66090739a2a4f8491c3c7a;p=ffmpeg diff --git a/libavfilter/af_compensationdelay.c b/libavfilter/af_compensationdelay.c index 793332584bd..f2e0dcd467f 100644 --- a/libavfilter/af_compensationdelay.c +++ b/libavfilter/af_compensationdelay.c @@ -127,7 +127,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) const unsigned delay = s->delay; const double dry = s->dry; const double wet = s->wet; - unsigned r_ptr, w_ptr; + unsigned r_ptr, w_ptr = 0; AVFrame *out; int n, ch; @@ -186,7 +186,7 @@ static const AVFilterPad compensationdelay_outputs[] = { { NULL } }; -AVFilter ff_af_compensationdelay = { +const AVFilter ff_af_compensationdelay = { .name = "compensationdelay", .description = NULL_IF_CONFIG_SMALL("Audio Compensation Delay Line."), .query_formats = query_formats,