The function pev_cm_mnbc_sound is setting the wrong indicate->MSVarField.CNT due post-decrement operator inside the while condition, what is causing the CNT field to be one below the expected value.
As a suggestion, just replace the while(sound--){} for do{ ...}while(sound--);
The function
pev_cm_mnbc_sound
is setting the wrongindicate->MSVarField.CNT
due post-decrement operator inside the while condition, what is causing theCNT
field to be one below the expected value.As a suggestion, just replace the
while(sound--){}
fordo{ ...}while(sound--);