Commit 220f957c authored by Max Kellermann's avatar Max Kellermann

pcm/ChannelsConverter: fix variable used to generate error message

Use the "_format" parameter instead of the (uninitialized) "format" attribute.
parent 8ce48d83
......@@ -43,7 +43,7 @@ PcmChannelsConverter::Open(SampleFormat _format,
default:
error.Format(pcm_domain,
"PCM channel conversion for %s is not implemented",
sample_format_to_string(format));
sample_format_to_string(_format));
return false;
}
......
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