History

avfilter/af_dynaudnorm: fix parameter for copy samples function

Paul B Mahol committed 4 years ago

Commit 9ac77721 parent 7f27ce61 file · +1 −1Browse files

Unified · Split

libavfilter/af_dynaudnorm.c+1−1
@@ -707,7 +707,7 @@ static int analyze_frame(DynamicAudioNormalizerContext *s, AVFilterLink *outlink · 706 unmodified lines
707 analyze_frame = s->window;707 analyze_frame = s->window;
708 } else {708 } else {
709 av_samples_copy(s->window->extended_data, (*frame)->extended_data, 0, 0,709 av_samples_copy(s->window->extended_data, (*frame)->extended_data, 0, 0,
710 s->frame_len, (*frame)->ch_layout.nb_channels, (*frame)->format);710 FFMIN(s->frame_len, (*frame)->nb_samples), (*frame)->ch_layout.nb_channels, (*frame)->format);
711 analyze_frame = *frame;711 analyze_frame = *frame;
712 }712 }
713 713

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t