diff libmpcodecs/ad_speex.c @ 18879:cc65a585fdcc

rm unnecesary casts from void* - part 3
author reynaldo
date Sun, 02 Jul 2006 08:17:07 +0000
parents 2c7219c38e56
children a95ed9a69caf
line wrap: on
line diff
--- a/libmpcodecs/ad_speex.c	Sun Jul 02 03:59:36 2006 +0000
+++ b/libmpcodecs/ad_speex.c	Sun Jul 02 08:17:07 2006 +0000
@@ -36,7 +36,7 @@
 }
 
 static int init(sh_audio_t *sh) {
-  context_t *ctx = (context_t *)calloc(1, sizeof(context_t));
+  context_t *ctx = calloc(1, sizeof(context_t));
   const SpeexMode *spx_mode;
   const SpeexStereoState st_st = SPEEX_STEREO_STATE_INIT; // hack
   if (!sh->wf || sh->wf->cbSize < 80) {