[vlc-commits] demux: mp4: fix non packetized ms55

Francois Cartegnie git at videolan.org
Thu Sep 5 20:37:24 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  5 15:18:45 2019 +0200| [972471079ba96826217ec20f79f0a577fe9d218e] | committer: Francois Cartegnie

demux: mp4: fix non packetized ms55

refs https://streams.videolan.org/samples/mov/qtaudio/surge-2-16-B-ms55.mov

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

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

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 8c00c84929..54ba3ff86b 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -896,7 +896,8 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
         case( VLC_FOURCC( '.', 'm', 'p', '3' ) ):
         case( VLC_FOURCC( 'm', 's', 0x00, 0x55 ) ):
         {
-            p_track->fmt.i_codec = VLC_CODEC_MPGA;
+            p_track->fmt.i_codec = VLC_CODEC_MP3;
+            p_track->fmt.b_packetized = false;
             break;
         }
         case ATOM_XiVs:



More information about the vlc-commits mailing list