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:
Max Kellermann
2017-01-12 21:36:32 +01:00
parent df578c91ad
commit c7b0c46d9f
2 changed files with 2 additions and 1 deletions

View File

@@ -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;