avfilter/af_drmeter: fix error in picking 2nd peak
This commit is contained in:
parent
c44fe10160
commit
238ec0c31b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue