From 678245c63492c4d88f1640f80947a27af71380fc Mon Sep 17 00:00:00 2001 From: Trek H Date: Wed, 13 Nov 2019 12:30:48 +1030 Subject: [PATCH] pcm: fix string format --- codec/pcm/pcm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/pcm/pcm.go b/codec/pcm/pcm.go index 99877eb9..9e8393f9 100644 --- a/codec/pcm/pcm.go +++ b/codec/pcm/pcm.go @@ -293,6 +293,6 @@ func SFFromString(s string) (SampleFormat, error) { case "FLOAT64_BE": return FLOAT64_BE, nil default: - return Unknown, errors.Errorf("Unknown FormatType (%d)", s) + return Unknown, errors.Errorf("Unknown FormatType (%s)", s) } }