[vlc-devel] [PATCH 06/18] caf: initialize the ES as AUDIO_ES category

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


---
 modules/demux/caf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/caf.c b/modules/demux/caf.c
index 49ff9fe86e..b44e1b625e 100644
--- a/modules/demux/caf.c
+++ b/modules/demux/caf.c
@@ -817,7 +817,7 @@ static int Open( vlc_object_t *p_this )
     /* From this point on, we have to free p_sys if we return an error (e.g. "goto caf_open_end") */
 
     p_sys = p_demux->p_sys;
-    es_format_Init( &p_sys->fmt, UNKNOWN_ES, 0 );
+    es_format_Init( &p_sys->fmt, AUDIO_ES, 0 );
 
     vlc_fourcc_t i_fcc;
     uint64_t i_size;
-- 
2.12.1



More information about the vlc-devel mailing list