[vlc-commits] Adding alac support in mkv

Denis Charmet git at videolan.org
Sat Oct 5 19:12:09 CEST 2013


vlc/vlc-2.1 | branch: master | Denis Charmet <typx at dinauz.org> | Sat Oct  5 18:58:16 2013 +0200| [da0c88eb483911572e78af72b6402e1e2db1b11e] | committer: Denis Charmet

Adding alac support in mkv

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

 modules/demux/mkv/matroska_segment_parse.cpp |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 5e8d608..bc1ba67 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1524,6 +1524,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
         p_tk->fmt.i_codec = VLC_CODEC_MP4A;
         fill_extra_data( p_tk, 0 );
     }
+    else if( !strcmp( p_tk->psz_codec, "A_ALAC" ) )
+    {
+        p_tk->fmt.i_codec =  VLC_CODEC_ALAC;
+        fill_extra_data( p_tk, 0 );
+    }
     else if( !strcmp( p_tk->psz_codec, "A_WAVPACK4" ) )
     {
         p_tk->fmt.i_codec = VLC_CODEC_WAVPACK;



More information about the vlc-commits mailing list