[vlc-devel] [PATCH 3/3] activex: fix typo

Daniel Amm da2424 at t-online.de
Thu May 21 20:24:20 CEST 2015


---
 activex/vlccontrol2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activex/vlccontrol2.cpp b/activex/vlccontrol2.cpp
index 84a4601..284228e 100644
--- a/activex/vlccontrol2.cpp
+++ b/activex/vlccontrol2.cpp
@@ -459,7 +459,7 @@ STDMETHODIMP VLCAudio::get_count(long* trackNumber)
     if( NULL == trackNumber )
         return E_POINTER;
 
-    *trackNumber = _plug->get_player().get_mp().audioTrack();
+    *trackNumber = _plug->get_player().get_mp().audioTrackCount();
 
     return S_OK;
 }
-- 
2.1.4




More information about the vlc-devel mailing list