[vlc-devel] [PATCH 18/18] demux:smooth: init a category variable to UNKNOWN_ES rather than 0

Steve Lhomme robux4 at videolabs.io
Wed Jul 5 17:00:32 CEST 2017


---
 modules/demux/smooth/playlist/ForgedInitSegment.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/smooth/playlist/ForgedInitSegment.cpp b/modules/demux/smooth/playlist/ForgedInitSegment.cpp
index e06ca2abff..ad4176c242 100644
--- a/modules/demux/smooth/playlist/ForgedInitSegment.cpp
+++ b/modules/demux/smooth/playlist/ForgedInitSegment.cpp
@@ -59,7 +59,7 @@ ForgedInitSegment::ForgedInitSegment(ICanonicalUrl *parent,
     formatex.wFormatTag = 0;
     width = height = 0;
     fourcc = 0;
-    es_type = 0;
+    es_type = UNKNOWN_ES;
     track_id = 1;
 }
 
-- 
2.12.1



More information about the vlc-devel mailing list