vlc | branch: master | Thomas Guillem <[email protected]> | Fri Feb 3 09:21:44 2017 +0100| [0bc996b274f96ae22abda176f587748fe6b65d59] | committer: Thomas Guillem
packetizer/mlp: remove dead code (cid #1399894) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bc996b274f96ae22abda176f587748fe6b65d59 --- modules/packetizer/mlp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/packetizer/mlp.c b/modules/packetizer/mlp.c index 6fee2c9..6bc1404 100644 --- a/modules/packetizer/mlp.c +++ b/modules/packetizer/mlp.c @@ -217,7 +217,7 @@ static int SyncInfo( const uint8_t *p_hdr, bool *pb_mlp, mlp_header_t *p_mlp ) if( !b_has_sync ) { int i_tmp = 0 ^ p_hdr[0] ^ p_hdr[1] ^ p_hdr[2] ^ p_hdr[3]; - const uint8_t *p = &p_hdr[4 + ( b_has_sync ? 28 : 0 )]; + const uint8_t *p = &p_hdr[4]; for( unsigned i = 0; i < p_mlp->i_substreams; i++ ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
