[vlc-commits] Compilation fix

Felix Paul Kühne git at videolan.org
Mon Feb 17 19:09:26 CET 2014


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Feb 17 19:09:33 2014 +0100| [3db653d7bb26b8032df9c3423d2241b2c534c285] | committer: Felix Paul Kühne

Compilation fix

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

 npapi/control/npolibvlc.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npapi/control/npolibvlc.cpp b/npapi/control/npolibvlc.cpp
index dc81e84..533d2c6 100644
--- a/npapi/control/npolibvlc.cpp
+++ b/npapi/control/npolibvlc.cpp
@@ -1357,7 +1357,7 @@ LibvlcSubtitleNPObject::invoke(int index, const NPVariant *args,
                     /* get the good spuDesc */
                     for (i = 0; i < i_limit; i++)
                     {
-                        if (p_trackDesc->i_id == i_trackID)
+                        if (p_spuDesc->i_id == i_spuID)
                             break;
 
                         p_spuDesc = p_spuDesc->p_next;



More information about the vlc-commits mailing list