vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Tue Nov 18 
23:19:11 2014 +0100| [d91beca3ed0ac081ea1a884c185b1ece92ee7c93] | committer: 
Francois Cartegnie

stream_filter: dash: remove double initialization

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

 .../dash/adaptationlogic/RateBasedAdaptationLogic.cpp          |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git 
a/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp 
b/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
index 3d0d7d6..3543250 100644
--- a/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
+++ b/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
@@ -37,12 +37,10 @@ RateBasedAdaptationLogic::RateBasedAdaptationLogic  
(MPDManager *mpdManager, str
                           AbstractAdaptationLogic   (mpdManager, stream),
                           mpdManager                (mpdManager),
                           count                     (0),
-                          currentPeriod             
(mpdManager->getFirstPeriod()),
-                          width                     (0),
-                          height                    (0)
+                          currentPeriod             
(mpdManager->getFirstPeriod())
 {
-    this->width  = var_InheritInteger(stream, "dash-prefwidth");
-    this->height = var_InheritInteger(stream, "dash-prefheight");
+    width  = var_InheritInteger(stream, "dash-prefwidth");
+    height = var_InheritInteger(stream, "dash-prefheight");
 }
 
 Chunk*  RateBasedAdaptationLogic::getNextChunk()

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to