]> git.sesse.net Git - vlc/commitdiff
MP4: support for the \xa9too atom
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 25 May 2010 13:44:41 +0000 (15:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 25 May 2010 14:37:28 +0000 (16:37 +0200)
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.h
modules/demux/mp4/mp4.c

index e8e10e530797c80cd4e5c703ab9bcbeda8b99807..28e5aa434be9d38165de5bc44c8005e985269fb9 100644 (file)
@@ -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_0xa9too,MP4_ReadBox_0xa9xxx,       MP4_FreeBox_0xa9xxx },
 
     { FOURCC_chpl,   MP4_ReadBox_chpl,          MP4_FreeBox_chpl },
 
index 6792a862f4472fd615824e47e5eda2e95cb11050..139da503c95d9f672b9a3b38d860e9e79fcb8421 100644 (file)
 #define FOURCC_0xa9wrt VLC_FOURCC( 0xa9, 'w', 'r', 't' )
 #define FOURCC_0xa9com VLC_FOURCC( 0xa9, 'c', 'o', 'm' )
 #define FOURCC_0xa9gen VLC_FOURCC( 0xa9, 'g', 'e', 'n' )
+#define FOURCC_0xa9too VLC_FOURCC( 0xa9, 't', 'o', 'o' )
 #define FOURCC_chpl VLC_FOURCC( 'c', 'h', 'p', 'l' )
 #define FOURCC_WLOC VLC_FOURCC( 'W', 'L', 'O', 'C' )
 
index b044ea9b672c40846d8a5c5bb1039d17d494c5e5..61a8a6a953ba92ea9a49bef2cac02b5065f5d2dd 100644 (file)
@@ -932,6 +932,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     SET( vlc_meta_SetURL );
                     break;
 
+                case FOURCC_0xa9too: /* Encoder Tool */
                 case FOURCC_0xa9enc: /* Encoded By */
                     SET( vlc_meta_SetEncodedBy );
                     break;