changeset 32110:f9a0197ad67c

Remove a useless cast.
author reimar
date Sun, 12 Sep 2010 13:14:18 +0000
parents 9b5658ebf058
children 7c8d240d37a6
files libmpdemux/demux_real.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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