vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Mar 26 
13:05:56 2016 +0100| [9955ea185acd6e1193844844f4b086ff5b3d6081] | committer: 
Francois Cartegnie

demux: mp4: simplify 3gpp debug msg

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

 modules/demux/mp4/mp4.c |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 7c65c66..25c60c9 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -527,13 +527,8 @@ static int Open( vlc_object_t * p_this )
             case MAJOR_3gp5:
             case MAJOR_3gp6:
             case MAJOR_3gp7:
-                msg_Dbg( p_demux, "3GPP Media Release: %c",
-#ifdef WORDS_BIGENDIAN
-                        BOXDATA(p_ftyp)->i_major_brand
-#else
-                        BOXDATA(p_ftyp)->i_major_brand >> 24
-#endif
-                        );
+                msg_Dbg( p_demux, "3GPP Media Release: %4.4s",
+                         (char *)&BOXDATA(p_ftyp)->i_major_brand );
                 break;
             case MAJOR_qt__:
                 msg_Dbg( p_demux, "Apple QuickTime media" );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to