[vlc-commits] dash: Remove now useless variables.

Hugo Beauzée-Luyssen git at videolan.org
Thu May 24 11:39:40 CEST 2012


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri May 11 11:54:05 2012 +0200| [f6247a0ffa4da17fbd7d9d814f42c2c8b9ddd113] | committer: Hugo Beauzée-Luyssen

dash: Remove now useless variables.

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

 modules/stream_filter/dash/mpd/IsoffMainManager.cpp |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
index 4b3e3c9..f6df2f7 100644
--- a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
+++ b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
@@ -135,9 +135,6 @@ Representation*             IsoffMainManager::getRepresentation     (Period *per
     std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets();
     std::vector<Representation *> resMatchReps;
 
-    int lowerWidth  = 0;
-    int lowerHeight = 0;
-
     for(size_t i = 0; i < adaptationSets.size(); i++)
     {
         std::vector<Representation *> reps = adaptationSets.at(i)->getRepresentations();
@@ -145,12 +142,6 @@ Representation*             IsoffMainManager::getRepresentation     (Period *per
         {
             if(reps.at(j)->getWidth() == width && reps.at(j)->getHeight() == height)
                 resMatchReps.push_back(reps.at(j));
-
-            if(reps.at(j)->getHeight() < height)
-            {
-                lowerWidth  = reps.at(j)->getWidth();
-                lowerHeight = reps.at(j)->getHeight();
-            }
         }
     }
 



More information about the vlc-commits mailing list