Commit da6c00ef authored by Josh Coalson's avatar Josh Coalson
Browse files

fixed bug, file was not being closed at _finish() time

parent e1378259
......@@ -341,6 +341,12 @@ OggFLAC_API void OggFLAC__stream_encoder_finish(OggFLAC__StreamEncoder *encoder)
if(0 != encoder->private_->file) {
if(encoder->private_->file != stdout)
encoder->private_->file = 0;
encoder->protected_->state = OggFLAC__STREAM_ENCODER_UNINITIALIZED;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment