[vlc-commits] demux: mp4: fix Qt v0 audio u8 demux

Francois Cartegnie git at videolan.org
Sun Sep 15 15:31:05 CEST 2019


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  5 17:17:15 2019 +0200| [1f3e6cce668302ded4ff7badc18942f1707c75a8] | committer: Francois Cartegnie

demux: mp4: fix Qt v0 audio u8 demux

refs https://streams.videolan.org/samples/mov/qtaudio/surge-2-8-raw.mov

(cherry picked from commit 84cc5f6a227dbe6e23bfa1d4e9e42206ee3e8831)

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

 modules/demux/mp4/mp4.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 21e5ba6390..3952b554a0 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -3600,6 +3600,8 @@ static inline uint32_t MP4_GetFixedSampleSize( const mp4_track_t *p_track,
         case ATOM_twos:
         case ATOM_sowt:
         case ATOM_raw:
+        case VLC_CODEC_U8:
+        case VLC_CODEC_S8:
         case VLC_CODEC_S16L:
         case VLC_CODEC_S16B:
         case VLC_CODEC_S24L:



More information about the vlc-commits mailing list