changeset 36388:542cf5882264

Remove pointless casts.
author reimar
date Fri, 25 Oct 2013 19:59:56 +0000
parents 85c8e2989c90
children 3961f6dd9dff
files libmpcodecs/ad_mpg123.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_mpg123.c	Fri Oct 25 19:59:54 2013 +0000
+++ b/libmpcodecs/ad_mpg123.c	Fri Oct 25 19:59:56 2013 +0000
@@ -379,7 +379,7 @@
  * 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 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);