[vlc-commits] demux: mp4: remove indirect codec mapping

Francois Cartegnie git at videolan.org
Wed Feb 15 12:07:58 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 15 12:01:05 2017 +0100| [2aecb265dc3db53ed4b834c5c0edc7c35a9c5dcb] | committer: Francois Cartegnie

demux: mp4: remove indirect codec mapping

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

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

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index a05430b..a75b83c 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -965,7 +965,7 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
 
         case ATOM_in24:
             p_track->fmt.i_codec = p_enda && BOXDATA(p_enda)->i_little_endian == 1 ?
-                                    VLC_FOURCC('4','2','n','i') : VLC_FOURCC('i','n','2','4');
+                                    VLC_CODEC_S24L : VLC_CODEC_S24B;
             break;
         case ATOM_in32:
             p_track->fmt.i_codec = p_enda && BOXDATA(p_enda)->i_little_endian == 1 ?



More information about the vlc-commits mailing list