mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avfilter/af_drmeter: fix error in picking 2nd peak
This commit is contained in:
parent
c44fe10160
commit
238ec0c31b
@ -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…
x
Reference in New Issue
Block a user