mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-21 21:22:50 +02:00
Version 5.10.6: Fix build.
This commit is contained in:
parent
d914c6be2e
commit
d3142ebe6d
2 changed files with 1 additions and 2 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Reference in a new issue