avfilter/af_drmeter: fix error in picking 2nd peak

pull/389/head
Paul B Mahol 2 years ago
parent c44fe10160
commit 238ec0c31b
  1. 2
      libavfilter/af_drmeter.c

@ -148,7 +148,7 @@ static void print_stats(AVFilterContext *ctx)
for (i = 0; i <= BINS; i++) {
if (p->peaks[BINS - i]) {
if (first)
if (first || p->peaks[BINS - i] > 1)
break;
first = 1;
}

Loading…
Cancel
Save