Commits

Anonymous committed 9371ca7

Clear possible error flags on buffer access in pygame.mixer.Sound().

Comments (0)

Files changed (1)

             chunk->volume = 128;
             memcpy (chunk->abuf, buf, buflen);
         }
+        else
+            PyErr_Clear ();
     }
     
     if (!chunk)