mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Beta version 4.6.8: Fix build with GCC.
This commit is contained in:
@@ -776,9 +776,6 @@ bool FFMpegLoader::open(crl::time positionMs, float64 speed) {
|
||||
}
|
||||
|
||||
bool FFMpegLoader::openCodecContext() {
|
||||
int res = 0;
|
||||
char err[AV_ERROR_MAX_STRING_SIZE] = { 0 };
|
||||
|
||||
_codecContext = avcodec_alloc_context3(nullptr);
|
||||
if (!_codecContext) {
|
||||
LOG(("Audio Error: "
|
||||
|
@@ -396,7 +396,6 @@ Loaders::SetupLoaderResult Loaders::setupLoader(
|
||||
}
|
||||
|
||||
auto SpeedDependentPosition = Mixer::Track::SpeedDependentPosition;
|
||||
auto SpeedIndependentPosition = Mixer::Track::SpeedIndependentPosition;
|
||||
if (!l) {
|
||||
std::unique_ptr<AudioPlayerLoader> *loader = nullptr;
|
||||
switch (audio.type()) {
|
||||
|
@@ -585,6 +585,7 @@ RUN git init ffmpeg \
|
||||
--enable-decoder=wmav2 \
|
||||
--enable-decoder=wmavoice \
|
||||
--enable-encoder=libopus \
|
||||
--enable-filter=atempo \
|
||||
--enable-parser=aac \
|
||||
--enable-parser=aac_latm \
|
||||
--enable-parser=flac \
|
||||
|
Submodule Telegram/lib_ui updated: 03f8127875...f3744c4ba3
2
cmake
2
cmake
Submodule cmake updated: d3977a83a6...49272b9606
Reference in New Issue
Block a user