From 27f5f6ca83730e263c8810fe39f9613d11c81f02 Mon Sep 17 00:00:00 2001 From: Saxon Nelson-Milton Date: Tue, 15 Dec 2020 19:26:39 +1030 Subject: [PATCH] revid/revid.go: removed useless fmt.Sprintf call --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index 199fb209..2acdea3d 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -189,7 +189,7 @@ func (r *Revid) reset(c config.Config) error { encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second)) r.cfg.CBR = true default: - panic(fmt.Sprintf("unknown input codec for Raspivid, File, V4l or RTSP input", r.cfg.InputCodec)) + panic("unknown input codec for Raspivid, File, V4l or RTSP input") } case config.InputAudio: st = mts.EncodeAudio