You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
avfilter/af_drmeter: fix error in picking 2nd peak
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user