Skip to content

Commit

Permalink
input/CdioParanoia: unlock the mutex during cdio_paranoia_read()
Browse files Browse the repository at this point in the history
Closes #149
  • Loading branch information
MaxKellermann committed Nov 13, 2017
1 parent a2b77c8 commit ae3aeca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/plugins/CdioParanoiaInputPlugin.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ CdioParanoiaInputStream::Read(void *ptr, size_t length)

//current sector was changed ?
if (lsn_relofs != buffer_lsn) {
const ScopeUnlock unlock(mutex);

rbuf = cdio_paranoia_read(para, nullptr);

s_err = cdda_errors(drv);
Expand Down

0 comments on commit ae3aeca

Please sign in to comment.