[vlc-commits] visual: correct object cast

Rémi Denis-Courmont git at videolan.org
Mon May 30 17:47:04 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 30 18:42:26 2011 +0300| [94b7316fc438d617d36c80aac479ec9e51656d52] | committer: Rémi Denis-Courmont

visual: correct object cast

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

 modules/visualization/visual/visual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index c335605..e09b993 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -419,7 +419,7 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd,
     VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval);
     VLC_UNUSED(p_data); VLC_UNUSED(newval);
 
-    aout_filter_t     *p_filter = (aout_filter_t *)p_this;
+    filter_t     *p_filter = (filter_t *)p_this;
     /* restart this baby */
     msg_Dbg( p_filter, "we should restart the visual filter" );
     return VLC_SUCCESS;



More information about the vlc-commits mailing list