[vlc-commits] Adding alac support in mkv

Denis Charmet git at videolan.org
Sat Oct 5 19:10:44 CEST 2013


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

Adding alac support in mkv

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

 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