[vlc-commits] demux: mp4: fix quicktime sample size regression for twos/stwo

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


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  5 14:59:32 2019 +0200| [a9d10d19b3cc5956a4e2e9fe562d23d6257ce2de] | committer: Francois Cartegnie

demux: mp4: fix quicktime sample size regression for twos/stwo

regression by 0c25ba56279fc495afe9d089e2bbcf051a296487

(cherry picked from commit d4047c25e42ff4f7ac7ca890583e3a7bf40b752b)

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

 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 c8755e6df6..21e5ba6390 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_S16L:
+        case VLC_CODEC_S16B:
         case VLC_CODEC_S24L:
         case VLC_CODEC_S24B:
         case VLC_CODEC_S32L:



More information about the vlc-commits mailing list