output/recorder: fix typo in variable name
Fixes the dreaded error "Failed to create : No such file or directory". https://bugs.musicpd.org/view.php?id=4625
This commit is contained in:
@@ -274,7 +274,7 @@ RecorderOutput::ReopenFormat(AllocatedPath &&new_path)
|
||||
assert(path.IsNull());
|
||||
assert(file == nullptr);
|
||||
|
||||
FileOutputStream *new_file = new FileOutputStream(path);
|
||||
FileOutputStream *new_file = new FileOutputStream(new_path);
|
||||
|
||||
AudioFormat new_audio_format = effective_audio_format;
|
||||
|
||||
|
Reference in New Issue
Block a user