[vlc-commits] activex: fix typo

Daniel Amm git at videolan.org
Fri May 22 10:21:21 CEST 2015


npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Thu May 21 20:24:20 2015 +0200| [03a8665d3d86fbdaeb2ceeb42ca5d1e634c4d7cd] | committer: Jean-Baptiste Kempf

activex: fix typo

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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;
 }



More information about the vlc-commits mailing list