diff --git a/revid/senders.go b/revid/senders.go index c89d29dc..0d4748fe 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -396,8 +396,7 @@ func newRtmpSender(url string, timeout uint, retries int, retry bool, log func(l } func (s *rtmpSender) load(d []byte) error { - s.data = make([]byte, len(d)) - copy(s.data, d) + s.data = d return nil }