Commit f4180b54 authored by Anthony Loiseau's avatar Anthony Loiseau Committed by Rémi Duraffort

demux/ts: remove redundant test (cosmetic)

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent d8b897c8
......@@ -3852,21 +3852,18 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
}
else if( p_dr->i_tag == 0x05 )
{
if( p_dr->i_tag == 0x05 )
/* Registration Descriptor */
if( p_dr->i_length != 4 )
{
/* Registration Descriptor */
if( p_dr->i_length != 4 )
{
msg_Warn( p_demux, "invalid Registration Descriptor" );
}
else
msg_Warn( p_demux, "invalid Registration Descriptor" );
}
else
{
msg_Dbg( p_demux, " * descriptor : registration %4.4s", p_dr->p_data );
if( !memcmp( p_dr->p_data, "HDMV", 4 ) )
{
msg_Dbg( p_demux, " * descriptor : registration %4.4s", p_dr->p_data );
if( !memcmp( p_dr->p_data, "HDMV", 4 ) )
{
/* Blu-Ray */
b_hdmv = true;
}
/* Blu-Ray */
b_hdmv = true;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment