[vlc-commits] demux: mp4: simplify 3gpp debug msg
Francois Cartegnie
git at videolan.org
Tue Mar 29 19:58:50 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | 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" );
More information about the vlc-commits
mailing list