[vlc-commits] OSS: blind compile fix

Jean-Baptiste Kempf git at videolan.org
Mon Dec 17 13:09:52 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 17 13:09:42 2012 +0100| [16c2a7ddf891945ee5753eb6f58fad3a99a156ac] | committer: Jean-Baptiste Kempf

OSS: blind compile fix

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

 modules/audio_output/oss.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 408bf76..9dabf5d 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -89,7 +89,7 @@ static int DeviceChanged (vlc_object_t *obj, const char *varname,
     if (!var_Type (obj, "oss-audio-device"))
         var_Create (obj, "oss-audio-device", VLC_VAR_STRING);
     var_SetString (obj, "oss-audio-device", cur.psz_string);
-    aout_RestartRequest ((audio_output_t *)aout, AOUT_RESTART_OUTPUT);
+    aout_RestartRequest ((audio_output_t *)obj, AOUT_RESTART_OUTPUT);
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list