[vlc-commits] headphone: remove redundant cast

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:51:27 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:45:12 2017 +0300| [a4e10e8496147b26a9930a5c11807ee127088dc8] | committer: Rémi Denis-Courmont

headphone: remove redundant cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4e10e8496147b26a9930a5c11807ee127088dc8
---

 modules/audio_filter/channel_mixer/headphone.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_filter/channel_mixer/headphone.c b/modules/audio_filter/channel_mixer/headphone.c
index 306264d603..80e4ef3c5b 100644
--- a/modules/audio_filter/channel_mixer/headphone.c
+++ b/modules/audio_filter/channel_mixer/headphone.c
@@ -316,7 +316,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
                 = p_data->p_atomic_operations[i].i_delay * 2 * sizeof (float);
         }
     }
-    p_data->p_overflow_buffer = (float *)malloc( p_data->i_overflow_buffer_size );
+    p_data->p_overflow_buffer = malloc( p_data->i_overflow_buffer_size );
     if( p_data->p_overflow_buffer == NULL )
     {
         free( p_data->p_atomic_operations );



More information about the vlc-commits mailing list