1. pygame
  2. Untitled project
  3. pygame

Commits

marcus  committed 9371ca7

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

  • Participants
  • Parent commits 3785000
  • Branches default

Comments (0)

Files changed (1)

File src/mixer.c

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