Index: /trunk/src/VBox/Devices/Audio/DevCodec.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevCodec.cpp	(revision 31038)
+++ /trunk/src/VBox/Devices/Audio/DevCodec.cpp	(revision 31039)
@@ -416,6 +416,6 @@
     return VINF_SUCCESS;
 }
-#define STAC9220_VERB_SIZE 61
-static CODECVERB STAC9220VERB[STAC9220_VERB_SIZE] =
+
+static CODECVERB STAC9220VERB[] =
 {
 /*    verb     | verb mask              | callback               */
@@ -577,5 +577,5 @@
     audsettings_t as;
     pState->pVerbs = (CODECVERB *)&STAC9220VERB;
-    pState->cVerbs = STAC9220_VERB_SIZE;
+    pState->cVerbs = sizeof(STAC9220VERB)/sizeof(CODECVERB);
     pState->pfnLookup = codecLookup;
     pState->pNodes = (PCODECNODE)RTMemAllocZ(sizeof(CODECNODE) * STAC9220_NODE_COUNT);
