2
0
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:
John Preston
2023-03-09 23:21:34 +04:00
parent f4c9bfa7c2
commit 95a4bf718d
5 changed files with 3 additions and 6 deletions

View File

@@ -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: "

View File

@@ -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()) {

View File

@@ -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 \

2
cmake

Submodule cmake updated: d3977a83a6...49272b9606