History

avfilter/af_dynaudnorm: move channels variable setup first

Paul B Mahol committed 6 years ago

Commit 1187dbb1 parent 5d82c071 file · +1 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_dynaudnorm.c+1−2
@@ -320,6 +320,7 @@ static int config_input(AVFilterLink *inlink) · 319 unmodified lines
320 320
321 uninit(ctx);321 uninit(ctx);
322 322
323 s->channels = inlink->channels;
323 s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec);324 s->frame_len = frame_size(inlink->sample_rate, s->frame_len_msec);
324 av_log(ctx, AV_LOG_DEBUG, "frame len %d\n", s->frame_len);325 av_log(ctx, AV_LOG_DEBUG, "frame len %d\n", s->frame_len);
325 326
@@ -358,8 +359,6 @@ static int config_input(AVFilterLink *inlink) · 32 unmodified lines
358 precalculate_fade_factors(s->fade_factors, s->frame_len);359 precalculate_fade_factors(s->fade_factors, s->frame_len);
359 init_gaussian_filter(s);360 init_gaussian_filter(s);
360 361
361 s->channels = inlink->channels;
362
363 return 0;362 return 0;
364}363}
365 364

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