[vlc-commits] demux: ts: kill warning

Francois Cartegnie git at videolan.org
Wed Dec 14 16:02:13 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 14 16:01:25 2016 +0100| [19d0d0f9d95a545fb8fe315cdb77ca41b6d3a68f] | committer: Francois Cartegnie

demux: ts: kill warning

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

 modules/demux/mpeg/pes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/pes.h b/modules/demux/mpeg/pes.h
index d9efb9e..1ccc930 100644
--- a/modules/demux/mpeg/pes.h
+++ b/modules/demux/mpeg/pes.h
@@ -151,7 +151,7 @@ static int ParsePESHeader( vlc_object_t *p_object, const uint8_t *p_header, size
             }
             else
             {
-                if( p_header[i_skip] & 0xFF != 0x0F ) /* No pts/dts, lowest bits set to 0x0F */
+                if( (p_header[i_skip] & 0xFF) != 0x0F ) /* No pts/dts, lowest bits set to 0x0F */
                     return VLC_EGENERIC;
                 i_skip += 1;
             }



More information about the vlc-commits mailing list