Index: /trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp	(revision 65204)
+++ /trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp	(revision 65205)
@@ -41,4 +41,5 @@
 
 #include <opus.h>
+
 
 /*********************************************************************************************************************************
@@ -291,6 +292,6 @@
     uint32_t cReadTotal = 0;
 
-    uint8_t pvDst[_4K];
-    opus_int32 cbDst = _4K;
+    uint8_t abDst[_4K];
+    opus_int32 cbDst = (opus_int32)sizeof(abDst);
 
     PPDMAUDIOSAMPLE pSamples;
@@ -303,5 +304,5 @@
         cReadTotal = cRead;
 
-        opus_int32 orc = opus_encode(pStreamOut->Codec.Opus.pEnc, (opus_int16 *)pSamples, cRead, pvDst, cbDst);
+        opus_int32 orc = opus_encode(pStreamOut->Codec.Opus.pEnc, (opus_int16 *)pSamples, cRead, abDst, cbDst);
         if (orc != OPUS_OK)
             LogFunc(("Encoding (1) failed: %s\n", opus_strerror(orc)));
