]> git.sesse.net Git - nageru/commitdiff
Silence another Coverity Scan warning.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 21:36:26 +0000 (22:36 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 21:36:26 +0000 (22:36 +0100)
nageru/kaeru.cpp

index 84bb7ad5692d8125a876f4e151e00684e5a6241f..5cd6d297d6759dfc3d8b19d96bc33d534a9c5d7e 100644 (file)
@@ -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;
 }