History

avcodec/ac3dec: set ltrt_center_mix and ltrt_surround_mix using the relevant coded values

James Almer committed 1 year ago

Commit 61519a61 parent bb854231 file · +2 −2Browse files

Unified · Split

libavcodec/ac3dec.c+2−2
@@ -1609,8 +1609,8 @@ dependent_frame: · 1608 unmodified lines
1609 1609
1610 s->loro_center_mix_level = gain_levels[s-> center_mix_level];1610 s->loro_center_mix_level = gain_levels[s-> center_mix_level];
1611 s->loro_surround_mix_level = gain_levels[s->surround_mix_level];1611 s->loro_surround_mix_level = gain_levels[s->surround_mix_level];
1612 s->ltrt_center_mix_level = LEVEL_MINUS_3DB;1612 s->ltrt_center_mix_level = gain_levels[s-> center_mix_level_ltrt];
1613 s->ltrt_surround_mix_level = LEVEL_MINUS_3DB;1613 s->ltrt_surround_mix_level = gain_levels[s->surround_mix_level_ltrt];
1614 /* set downmixing coefficients if needed */1614 /* set downmixing coefficients if needed */
1615 if (s->channels != s->out_channels && !((s->output_mode & AC3_OUTPUT_LFEON) &&1615 if (s->channels != s->out_channels && !((s->output_mode & AC3_OUTPUT_LFEON) &&
1616 s->fbw_channels == s->out_channels)) {1616 s->fbw_channels == s->out_channels)) {

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