# HG changeset patch # User reimar # Date 1284297258 0 # Node ID f9a0197ad67ccfa7ac891912e542e9ffd6ed8578 # Parent 9b5658ebf058d8dcd97c26c343601126bcb156cd Remove a useless cast. diff -r 9b5658ebf058 -r f9a0197ad67c libmpdemux/demux_real.c --- a/libmpdemux/demux_real.c Sun Sep 12 13:13:36 2010 +0000 +++ b/libmpdemux/demux_real.c Sun Sep 12 13:14:18 2010 +0000 @@ -784,7 +784,7 @@ if (++(priv->sub_packet_cnt) < sph) audioreorder_getnextpk = 1; else { - int apk_usize = ((WAVEFORMATEX*)((sh_audio_t*)ds->sh)->wf)->nBlockAlign; + int apk_usize = ((sh_audio_t*)ds->sh)->wf->nBlockAlign; audioreorder_getnextpk = 0; priv->sub_packet_cnt = 0; // Release all the audio packets