[vlc-commits] demux: mp4: use defined atom instead of fourcc

Francois Cartegnie git at videolan.org
Sat May 21 14:41:53 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat May 21 14:36:36 2016 +0200| [5c88c17162efa50bb52796804e7fcb554c0aa250] | committer: Francois Cartegnie

demux: mp4: use defined atom instead of fourcc

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

 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 408ad5d..f9291f8 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -754,7 +754,7 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
             p_track->fmt.i_codec = VLC_CODEC_MPGA;
             break;
         }
-        case VLC_FOURCC( 'X', 'i', 'V', 's' ):
+        case ATOM_XiVs:
         {
             const MP4_Box_t *p_vCtH = MP4_BoxGet( p_sample, "wave/vCtH" ); /* kCookieTypeVorbisHeader */
             const MP4_Box_t *p_vCtd = MP4_BoxGet( p_sample, "wave/vCt#" ); /* kCookieTypeVorbisComments */



More information about the vlc-commits mailing list