[vlc-commits] MP4: kill a warning for operator priority

Jean-Baptiste Kempf git at videolan.org
Fri Apr 13 17:06:36 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 13 17:06:18 2012 +0200| [59997ad65b64e43f418464c37373b9b57cf1f5f9] | committer: Jean-Baptiste Kempf

MP4: kill a warning for operator priority

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

 modules/demux/mp4/libmp4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 42a56df..2d478c6 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -1371,7 +1371,7 @@ static int MP4_ReadBox_dvc1( stream_t *p_stream, MP4_Box_t *p_box )
     p_dvc1 = p_box->data.p_dvc1;
 
     MP4_GET1BYTE( p_dvc1->i_profile_level ); /* profile is on 4bits, level 3bits */
-    if( p_dvc1->i_profile_level & 0xf0 >> 4 != 0x06 )
+    if( (p_dvc1->i_profile_level & 0xf0) >> 4 != 0x06 )
     {
         msg_Warn( p_stream, "unsupported VC-1 profile, please report" );
         MP4_READBOX_EXIT( 0 );



More information about the vlc-commits mailing list