From 7817c8536deae6e3b7daa4cb500623604b1a8854 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 21 Dec 2018 22:36:26 +0100 Subject: [PATCH] Silence another Coverity Scan warning. --- nageru/kaeru.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nageru/kaeru.cpp b/nageru/kaeru.cpp index 84bb7ad..5cd6d29 100644 --- a/nageru/kaeru.cpp +++ b/nageru/kaeru.cpp @@ -225,6 +225,7 @@ int main(int argc, char *argv[]) video.stop_dequeue_thread(); // Stop the x264 encoder before killing the mux it's writing to. + global_x264_encoder = nullptr; x264_encoder.reset(); return 0; } -- 2.39.2