diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c index cc71b2983e..afa17fe8a2 100644 --- a/libavfilter/vf_format.c +++ b/libavfilter/vf_format.c @@ -92,7 +92,7 @@ static av_cold int init(AVFilterContext *ctx) if (!strcmp(ctx->filter->name, "noformat")) { const AVPixFmtDescriptor *desc = NULL; enum AVPixelFormat *formats_allowed; - int nb_formats_lavu = 0, nb_formats_allowed = 0;; + int nb_formats_lavu = 0, nb_formats_allowed = 0; /* count the formats known to lavu */ while ((desc = av_pix_fmt_desc_next(desc)))