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

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


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep  5 15:18:45 2019 +0200| [7d20d1ddf5683c0b43220c593049ec46d4888891] | committer: Francois Cartegnie

demux: mp4: fix non packetized ms55

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

(cherry picked from commit 972471079ba96826217ec20f79f0a577fe9d218e)

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

 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 4e3bf8f13e..9c27ed04e5 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -932,7 +932,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