[vlc-commits] fix some pathes not returning a value

Steve Lhomme git at videolan.org
Tue Jul 28 12:08:08 CEST 2015


libvlcpp | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Jul 16 17:12:24 2015 +0200| [0a2f4e980c7dcccb8009548723b4aa549bac75bb] | committer: Hugo Beauzée-Luyssen

fix some pathes not returning a value

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/libvlcpp.git/?a=commit;h=0a2f4e980c7dcccb8009548723b4aa549bac75bb
---

 vlcpp/MediaPlayer.hpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlcpp/MediaPlayer.hpp b/vlcpp/MediaPlayer.hpp
index 9315bf9..ad99285 100644
--- a/vlcpp/MediaPlayer.hpp
+++ b/vlcpp/MediaPlayer.hpp
@@ -1361,6 +1361,7 @@ public:
 
         for ( int i = 0; i < nbTitles; ++i )
             res.emplace_back( ptr[i] );
+        return res;
     }
 #endif
 
@@ -1395,6 +1396,7 @@ public:
 
         for ( int i = 0; i < nbChapters; ++i )
             res.emplace_back( ptr[i] );
+        return res;
     }
 #endif
 



More information about the vlc-commits mailing list