[vlc-devel] [PATCH 1/2] demux: adaptive: fix warning of reorder

Zhao Zhili wantlamy at gmail.com
Sun Aug 6 11:43:06 CEST 2017


---
 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);
 }
-- 
2.13.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170806/f19d95b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-demux-adaptive-fix-warning-of-reorder.patch
Type: application/octet-stream
Size: 961 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170806/f19d95b3/attachment.obj>


More information about the vlc-devel mailing list