[vlc-commits] oss: fix segfault

Rémi Duraffort git at videolan.org
Sat Dec 22 13:45:36 CET 2012


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Dec 22 13:40:38 2012 +0100| [ddac8657c5fd895b1d844aea6c8b3617c2ae5d4d] | committer: Rémi Duraffort

oss: fix segfault

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

 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 2318eda..8a70eb3 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -358,7 +358,7 @@ static int MuteSet (audio_output_t *aout, bool mute)
 
 static int DevicesEnum (audio_output_t *aout, char ***idp, char ***namep)
 {
-    aout_sys_t *sys = sys;
+    aout_sys_t *sys = aout->sys;
     int fd = sys->fd;
     oss_sysinfo si;
 



More information about the vlc-commits mailing list