[vlc-commits] commit: MP4: Recognize \xa9wrt (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Tue May 25 16:37:48 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 25 15:52:00 2010 +0200| [8812a3c881e5a70068e2a5d74cc72b00b999a919] | committer: Jean-Baptiste Kempf 

MP4: Recognize \xa9wrt

We don't do anything with it yet.

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

 modules/demux/mp4/libmp4.c |    1 +
 modules/demux/mp4/mp4.c    |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 28e5aa4..70316aa 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -2768,6 +2768,7 @@ static const struct
     { FOURCC_0xa9url,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
     { FOURCC_0xa9ope,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
     { FOURCC_0xa9com,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
+    { FOURCC_0xa9wrt,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
     { FOURCC_0xa9too,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
 
     { FOURCC_chpl,   MP4_ReadBox_chpl,          MP4_FreeBox_chpl },
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 61a8a6a..8d15877 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -937,6 +937,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     SET( vlc_meta_SetEncodedBy );
                     break;
 
+                case FOURCC_0xa9wrt: /* Writer */
+                case FOURCC_0xa9com: /* Composer */
                 case FOURCC_0xa9swr:
                 case FOURCC_0xa9inf: /* Information */
                 case FOURCC_0xa9dir: /* Director */
@@ -949,8 +951,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 case FOURCC_0xa9prf: /* Performers */
                 case FOURCC_0xa9ope: /* Original Performer */
                 case FOURCC_0xa9src: /* Providers Source Content */
-                case FOURCC_0xa9wrt: /* Writer */
-                case FOURCC_0xa9com: /* Composer */
                 case FOURCC_WLOC:    /* Window Location */
                     /* TODO one day, but they aren't really meaningfull */
                     break;



More information about the vlc-commits mailing list