[vlc-commits] stream_filter: dash: remove double initialization
Francois Cartegnie
git at videolan.org
Thu Dec 18 22:39:46 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at 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()
More information about the vlc-commits
mailing list