[vlc-commits] caf: initialize the ES as AUDIO_ES category

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


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

caf: initialize the ES as AUDIO_ES category

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

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

 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;



More information about the vlc-commits mailing list