vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Sat Nov 22 
11:21:05 2014 +0100| [33097d5d6b88d6e430a05b74e30597e17a0e0af1] | committer: 
Francois Cartegnie

stream_filter: dash: simplify next chunk condition

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

 .../dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp           |    6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp 
b/modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
index b16102d..568174d 100644
--- a/modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
+++ b/modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
@@ -45,12 +45,6 @@ AlwaysBestAdaptationLogic::~AlwaysBestAdaptationLogic   ()
 
 Chunk*  AlwaysBestAdaptationLogic::getNextChunk()
 {
-    if(this->schedule.size() == 0)
-        return NULL;
-
-    if(this->count == this->schedule.size())
-        return NULL;
-
     if ( this->count < this->schedule.size() )
     {
         Chunk *chunk = new Chunk();

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

Reply via email to