[vlc-commits] demux: mp4: fix undefined NULL cmp

Francois Cartegnie git at videolan.org
Wed Nov 16 15:49:14 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 16 15:48:07 2016 +0100| [eb43fb752f8ce4c92ab2a3d55070709c13ecc6ac] | committer: Francois Cartegnie

demux: mp4: fix undefined NULL cmp

Since that's now using ARRAY_SIZE

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

 modules/demux/mp4/meta.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/demux/mp4/meta.c b/modules/demux/mp4/meta.c
index 2de7de3..c8a00d3 100644
--- a/modules/demux/mp4/meta.c
+++ b/modules/demux/mp4/meta.c
@@ -54,7 +54,6 @@ static const struct
     { ATOM_0xa9dir, vlc_meta_Director },
     { ATOM_MCPS,    vlc_meta_EncodedBy }, /* Cleaner Pro */
     { ATOM_aART,    vlc_meta_AlbumArtist },
-    { 0, 0 },
 };
 
 static const struct
@@ -105,7 +104,6 @@ static const struct
     { ATOM_gssd,    N_("YouTube Source Data") },
     { ATOM_gsst,    N_("YouTube Start Time") },
     { ATOM_gstd,    N_("YouTube Track Duration") },
-    { 0, "" },
 };
 
 static const struct
@@ -125,7 +123,6 @@ static const struct
     { "director",        vlc_meta_Director },
     { "genre",           vlc_meta_Genre },
     { "publisher",       vlc_meta_Publisher },
-    { NULL,              0 },
 };
 
 static const struct
@@ -136,7 +133,6 @@ static const struct
     { "information",     N_("Information") },
     { "keywords",        N_("Keywords") },
     { "make",            N_("Vendor") },
-    { NULL,              NULL },
 };
 
 inline static char * StringConvert( const MP4_Box_data_data_t *p_data )



More information about the vlc-commits mailing list