From 9a120dc16b6dfbf4993c80b6aadfd7b960121935 Mon Sep 17 00:00:00 2001 From: "rafael@riseup.net" Date: Sun, 19 May 2013 20:22:29 +0000 Subject: [PATCH] One more Opus fix --- darkice/trunk/src/OpusLibEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darkice/trunk/src/OpusLibEncoder.cpp b/darkice/trunk/src/OpusLibEncoder.cpp index 7fc73dd..73608ef 100644 --- a/darkice/trunk/src/OpusLibEncoder.cpp +++ b/darkice/trunk/src/OpusLibEncoder.cpp @@ -467,7 +467,7 @@ void OpusLibEncoder :: flush ( void ) throw ( Exception ) { - if ( !isOpen() ) { + if ( !isOpen() || encoderOpen == false ) { return; }