Fix the error "‘AV_CH_LAYOUT_STEREO’ was not declared in this scope" during build

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
This commit is contained in:
Tércio Martins
2022-02-26 16:07:02 -03:00
parent b0a153a15e
commit 027f789a62
@@ -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"