vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Sun Nov 16 13:08:43 2014 +0100| [a3456b283be71bdc455d1cb9fe9e7135bc6d61c8] | committer: Francois Cartegnie
demux: mp4: handle QCELP stsd v0 spec violation for (fix #12720) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3456b283be71bdc455d1cb9fe9e7135bc6d61c8 --- modules/demux/mp4/essetup.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c index 78c6650..8634d4f 100644 --- a/modules/demux/mp4/essetup.c +++ b/modules/demux/mp4/essetup.c @@ -721,6 +721,14 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample ) break; } + /* Late fixes */ + if ( p_soun->i_qt_version == 0 && p_track->fmt.i_codec == VLC_CODEC_QCELP ) + { + /* Shouldn't be v0, as it is a compressed codec !*/ + p_soun->i_qt_version = 1; + p_soun->i_compressionid = 0xFFFE; + } + return 1; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits