From: Steinar H. Gunderson Date: Fri, 21 Dec 2018 21:36:26 +0000 (+0100) Subject: Silence another Coverity Scan warning. X-Git-Tag: 1.8.1~54 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=7817c8536deae6e3b7daa4cb500623604b1a8854 Silence another Coverity Scan warning. --- 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; }