[vlc-commits] mux: mp4: fix mp3 atom codec with quicktime

Francois Cartegnie git at videolan.org
Fri Feb 8 21:20:20 CET 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Feb  8 16:47:10 2019 +0100| [cef7e0eaf9990dff6f5a6d96b848e162be591a95] | committer: Francois Cartegnie

mux: mp4: fix mp3 atom codec with quicktime

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

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

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 31a4ed4562..1eb5925d54 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1038,7 +1038,8 @@ static bo_t *GetSounBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
     vlc_fourcc_t codec = p_track->fmt.i_codec;
     char fcc[4];
 
-    if (codec == VLC_CODEC_MPGA) {
+    if (codec == VLC_CODEC_MPGA ||
+        codec == VLC_CODEC_MP3) {
         if (b_mov) {
             b_descr = false;
             memcpy(fcc, ".mp3", 4);



More information about the vlc-commits mailing list