pcm/ChannelsConverter: fix variable used to generate error message

Use the "_format" parameter instead of the (uninitialized) "format"
attribute.
This commit is contained in:
Max Kellermann 2014-10-23 22:44:53 +02:00
parent 8ce48d83eb
commit 220f957cd8

View File

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