ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Tue Dec 24 00:18:24 2024 -0300| [61519a6e989f28e823bc708db00fd712faa4c94e] | committer: James Almer
avcodec/ac3dec: set ltrt_center_mix and ltrt_surround_mix using the relevant coded values Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61519a6e989f28e823bc708db00fd712faa4c94e --- libavcodec/ac3dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 3cc20f32a9..e5b52c577f 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1609,8 +1609,8 @@ dependent_frame: s->loro_center_mix_level = gain_levels[s-> center_mix_level]; s->loro_surround_mix_level = gain_levels[s->surround_mix_level]; - s->ltrt_center_mix_level = LEVEL_MINUS_3DB; - s->ltrt_surround_mix_level = LEVEL_MINUS_3DB; + s->ltrt_center_mix_level = gain_levels[s-> center_mix_level_ltrt]; + s->ltrt_surround_mix_level = gain_levels[s->surround_mix_level_ltrt]; /* set downmixing coefficients if needed */ if (s->channels != s->out_channels && !((s->output_mode & AC3_OUTPUT_LFEON) && s->fbw_channels == s->out_channels)) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".