From 3cdedd3416a0f0ed5be0a0e9c7d94c630a19ee1d Mon Sep 17 00:00:00 2001 From: Cezary Siwek Date: Fri, 9 Aug 2019 17:26:19 +0100 Subject: [PATCH] test toc config --- opus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opus.go b/opus.go index 359e0be..e3b7b5f 100644 --- a/opus.go +++ b/opus.go @@ -250,7 +250,7 @@ func (i *OpusReader) GetSample() (*OpusSamples, error) { break } opusSamples.Frames = frames - tocConfig := tmpPacket[0] >> 3 + tocConfig := tmptoc >> 3 var length uint32 length = uint32(tocConfig & 3)