Version 5.10.6: Fix build.

This commit is contained in:
John Preston 2025-01-26 14:00:45 +04:00
parent d914c6be2e
commit d3142ebe6d
2 changed files with 1 additions and 2 deletions

View file

@ -2580,7 +2580,7 @@ void UpgradeBox(
not_null<const style::icon*> icon) {
auto raw = container->add(
object_ptr<Ui::VerticalLayout>(container));
const auto widget = raw->add(
raw->add(
object_ptr<Ui::FlatLabel>(
raw,
std::move(title) | Ui::Text::ToBold(),

View file

@ -120,7 +120,6 @@ constexpr auto kFrameSize = 4096;
outCodecContext->channel_layout = AV_CH_LAYOUT_STEREO;
}
#endif // DA_FFMPEG_NEW_CHANNEL_LAYOUT
const auto inrate = inCodecContext->sample_rate;
const auto rate = 44'100;
outCodecContext->sample_fmt = AV_SAMPLE_FMT_S16;
outCodecContext->time_base = AVRational{ 1, rate };