[vlc-commits] demux:smooth: init a category variable to UNKNOWN_ES rather than 0

Steve Lhomme git at videolan.org
Fri Jul 7 19:18:35 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jul  5 17:00:32 2017 +0200| [1e82b512dcd968dd6f8204b6e32c9b29bad52d22] | committer: Rémi Denis-Courmont

demux:smooth: init a category variable to UNKNOWN_ES rather than 0

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

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

 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 828e1fe9b2..53ea627880 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;
 }
 



More information about the vlc-commits mailing list