[vlc-commits] demux: adaptive: fix warning of reorder

Zhao Zhili git at videolan.org
Sun Aug 6 21:52:04 CEST 2017


vlc | branch: master | Zhao Zhili <wantlamy at gmail.com> | Sat Aug  5 01:25:49 2017 +0800| [bc80566d95b213498978b92a1fd377ae4817c933] | committer: Rémi Denis-Courmont

demux: adaptive: fix warning of reorder

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp b/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp
index 2a3a829530..ed54d15f0d 100644
--- a/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp
+++ b/modules/demux/adaptive/logic/NearOptimalAdaptationLogic.cpp
@@ -52,9 +52,9 @@ NearOptimalContext::NearOptimalContext()
 
 NearOptimalAdaptationLogic::NearOptimalAdaptationLogic( vlc_object_t *p_obj )
     : AbstractAdaptationLogic()
-    , p_obj( p_obj )
-    , usedBps( 0 )
     , currentBps( 0 )
+    , usedBps( 0 )
+    , p_obj( p_obj )
 {
     vlc_mutex_init(&lock);
 }



More information about the vlc-commits mailing list