change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / ffmpeg.C
index ccf80afcbce0e94590c05696b9a165a73d7e1ec1..515657867a22e929a0f806ec321bee6c1a63a9ac 100644 (file)
@@ -1992,8 +1992,8 @@ void FFMPEG::stop_muxer()
        if( running() ) {
                done = 1;
                mux_lock->unlock();
-               join();
        }
+       join();
 }
 
 void FFMPEG::flow_off()