[vlc-devel] [PATCH 17/18] mp4:libmp4mux: call es_format_Init with UNKNOWN_ES rather than 0

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


---
 modules/mux/mp4/libmp4mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 645a57d3df..ec7a8b2279 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -50,7 +50,7 @@ bool mp4mux_trackinfo_Init(mp4mux_trackinfo_t *p_stream, unsigned i_id,
     if(!p_stream->entry)
         return false;
 
-    es_format_Init(&p_stream->fmt, 0, 0);
+    es_format_Init(&p_stream->fmt, UNKNOWN_ES, 0);
 
     return true;
 }
-- 
2.12.1



More information about the vlc-devel mailing list