[vlc-commits] mux: mp4: fix mp3 mapping

Francois Cartegnie git at videolan.org
Tue Feb 26 19:45:41 CET 2019


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Feb  8 16:53:12 2019 +0100| [2262172695b17a2d06ef419ae3c634f9d0a08ab8] | committer: Francois Cartegnie

mux: mp4: fix mp3 mapping

(cherry picked from commit 20ff773847b65199bcb7bab89390e64012480ad3)

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

 modules/mux/mp4/libmp4mux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index ecf52ba7e9..a4ea8b28b7 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -282,6 +282,7 @@ static bo_t *GetESDS(mp4mux_trackinfo_t *p_track)
         /* FIXME for mpeg2-aac == 0x66->0x68 */
         i_object_type_indication = 0x40;
         break;
+    case VLC_CODEC_MP3:
     case VLC_CODEC_MPGA:
         i_object_type_indication =
             p_track->fmt.audio.i_rate < 32000 ? 0x69 : 0x6b;



More information about the vlc-commits mailing list