From 027f789a623e39a85318b73b31281d52ec1a21d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9rcio=20Martins?= Date: Sat, 26 Feb 2022 16:07:02 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20the=20error=20"=E2=80=98AV=5FCH=5FLAYOUT?= =?UTF-8?q?=5FSTEREO=E2=80=99=20was=20not=20declared=20in=20this=20scope"?= =?UTF-8?q?=20during=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build of Olive under Arch Linux (package "olive-git") crashes in the file "app/dialog/sequence/sequencedialogpresettab.cpp". GCC tries to look for the directive "AV_CH_LAYOUT_STEREO", but cannot find it, because the source code has no reference to the header "render/audioparams.h". The following link contains more details about the error: https://aur.archlinux.org/packages/olive-git#comment-852760 --- app/dialog/sequence/sequencedialogpresettab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/dialog/sequence/sequencedialogpresettab.cpp b/app/dialog/sequence/sequencedialogpresettab.cpp index a52258fa0..c3e471b9c 100644 --- a/app/dialog/sequence/sequencedialogpresettab.cpp +++ b/app/dialog/sequence/sequencedialogpresettab.cpp @@ -31,6 +31,7 @@ #include "common/filefunctions.h" #include "config/config.h" +#include "render/audioparams.h" #include "render/videoparams.h" #include "ui/icons/icons.h" #include "widget/menu/menu.h"