mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Version 5.10.6: Fix build.
This commit is contained in:
@@ -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(),
|
||||
|
@@ -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 };
|
||||
|
Reference in New Issue
Block a user