[vlc-commits] mux: mp4: use defined profile value
    Francois Cartegnie 
    git at videolan.org
       
    Tue Dec  8 17:31:45 CET 2015
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec  8 16:11:57 2015 +0100| [c227f6f4c092b2ee0b00f663873cf3cce3c6176d] | committer: Francois Cartegnie
mux: mp4: use defined profile value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c227f6f4c092b2ee0b00f663873cf3cce3c6176d
---
 modules/mux/mp4/libmp4mux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index ca48d64..2828f28 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -782,7 +782,7 @@ static bo_t *GetAvcCTag(es_format_t *p_fmt)
     }
 
     bo_add_8(avcC, 1);      /* configuration version */
-    bo_add_8(avcC, i_sps_size ? p_sps[1] : 77);
+    bo_add_8(avcC, i_sps_size ? p_sps[1] : PROFILE_H264_MAIN);
     bo_add_8(avcC, i_sps_size ? p_sps[2] : 64);
     bo_add_8(avcC, i_sps_size ? p_sps[3] : 30);       /* level, 5.1 */
     bo_add_8(avcC, 0xff);   /* 0b11111100 | lengthsize = 0x11 */
    
    
More information about the vlc-commits
mailing list