[vlc-commits] demux/mkv: use appropriate helper for A_ALAC

Filip Roséen git at videolan.org
Sat Feb 25 20:28:42 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Feb 25 20:21:55 2017 +0100| [b2d56b247bc4cb975f9734f2ecb0cbd630e51d1d] | committer: Jean-Baptiste Kempf

demux/mkv: use appropriate helper for A_ALAC

The correct helper-function is named fill_extra_data_alac, and not
fill_extra_data. The errournous usage seems to have been introduced during the
big refactoring of the demuxer.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mkv/matroska_segment_parse.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 0f96ffa..30aa550 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1640,7 +1640,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
         }
         S_CASE("A_ALAC") {
             vars.p_tk->fmt.i_codec = VLC_CODEC_ALAC;
-            fill_extra_data( vars.p_tk, 0);
+            fill_extra_data_alac( vars.p_tk );
         }
         S_CASE("A_WAVPACK4") {
             vars.p_tk->fmt.i_codec = VLC_CODEC_WAVPACK;



More information about the vlc-commits mailing list