Commit 60b205c2 authored by Josh Coalson's avatar Josh Coalson
Browse files

fix bug in errno mis-handling with MSVC

parent 917df866
......@@ -308,11 +308,11 @@ static FLAC__bool simple_iterator_prime_input_(FLAC__Metadata_SimpleIterator *it
}
#if !defined _MSC_VER && !defined __MINGW32__
}
#endif
else {
iterator->status = FLAC__METADATA_SIMPLE_ITERATOR_STATUS_ERROR_OPENING_FILE;
return false;
}
#endif
}
else {
iterator->is_writable = true;
......
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