[MPlayer-dev-eng] [PATCH 2/3] Remove pointless casts.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Oct 15 20:44:48 CEST 2013
---
libmpcodecs/ad_mpg123.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libmpcodecs/ad_mpg123.c b/libmpcodecs/ad_mpg123.c
index 815d773..26a5d27 100644
--- a/libmpcodecs/ad_mpg123.c
+++ b/libmpcodecs/ad_mpg123.c
@@ -379,7 +379,7 @@ static int decode_a_bit(sh_audio_t *sh, unsigned char *buf, int count)
* 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);
--
1.8.4.rc3
More information about the MPlayer-dev-eng
mailing list