[vlc-commits] commit: mp4: add avc1/3gp6/qt brands (Ilkka Ollakka )

git at videolan.org git at videolan.org
Sun Jun 13 22:36:18 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Jun 13 15:20:54 2010 +0300| [abfcb0302d9b28f3d9e09f4e4272fc522b9ef3e1] | committer: Ilkka Ollakka 

mp4: add avc1/3gp6/qt  brands

I think this should be safe even if there isn't avc1 track

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

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

diff --git a/modules/mux/mp4.c b/modules/mux/mp4.c
index f459b52..fda0c42 100644
--- a/modules/mux/mp4.c
+++ b/modules/mux/mp4.c
@@ -204,11 +204,13 @@ static int Open( vlc_object_t *p_this )
     {
         /* Now add ftyp header */
         box = box_new( "ftyp" );
-        if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp4" );
+        if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp6" );
         else bo_add_fourcc( box, "isom" );
         bo_add_32be  ( box, 0 );
         if( p_sys->b_3gp ) bo_add_fourcc( box, "3gp4" );
         else bo_add_fourcc( box, "mp41" );
+        bo_add_fourcc( box, "avc1" );
+        bo_add_fourcc( box, "qt  " );
         box_fix( box );
 
         p_sys->i_pos += box->i_buffer;



More information about the vlc-commits mailing list