[MPlayer-cvslog] r36484 - trunk/libmpcodecs/ad_mpg123.c

reimar subversion at mplayerhq.hu
Fri Oct 25 21:59:56 CEST 2013


Author: reimar
Date: Fri Oct 25 21:59:56 2013
New Revision: 36484

Log:
Remove pointless casts.

Modified:
   trunk/libmpcodecs/ad_mpg123.c

Modified: trunk/libmpcodecs/ad_mpg123.c
==============================================================================
--- trunk/libmpcodecs/ad_mpg123.c	Fri Oct 25 21:59:54 2013	(r36483)
+++ trunk/libmpcodecs/ad_mpg123.c	Fri Oct 25 21:59:56 2013	(r36484)
@@ -379,7 +379,7 @@ static int decode_a_bit(sh_audio_t *sh, 
  * 1 on success, 0 on error */
 static int reopen_stream(sh_audio_t *sh)
 {
-    struct ad_mpg123_context *con = (struct ad_mpg123_context*) sh->context;
+    struct ad_mpg123_context *con = sh->context;
 
     mpg123_close(con->handle);
     /* No resetting of the context:
@@ -443,7 +443,7 @@ static int init(sh_audio_t *sh)
 
 static void uninit(sh_audio_t *sh)
 {
-    struct ad_mpg123_context *con = (struct ad_mpg123_context*) sh->context;
+    struct ad_mpg123_context *con = sh->context;
 
     mpg123_close(con->handle);
     mpg123_delete(con->handle);


More information about the MPlayer-cvslog mailing list