diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index ea2e6249a..f0ce3b210 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -65,7 +65,10 @@ Window::Window(ConfigController* config, QWidget* parent) Window::~Window() { delete m_logView; + +#ifdef USE_FFMPEG delete m_videoView; +#endif } void Window::argumentsPassed(GBAArguments* args) {