Commit dd8d083b authored by Jean-Paul Saman's avatar Jean-Paul Saman

Break long if statement in several lines.

parent 53acc520
......@@ -388,7 +388,9 @@ static int Demux( demux_t *p_demux )
#endif
!ps_pkt_parse_pes( p_pkt, tk->i_skip ) ) )
{
if( !b_new && !p_sys->b_have_pack && tk->fmt.i_cat == AUDIO_ES && p_pkt->i_pts > 0 )
if( !b_new && !p_sys->b_have_pack &&
(tk->fmt.i_cat == AUDIO_ES) &&
(p_pkt->i_pts > 0) )
{
/* A hack to sync the A/V on PES files. */
msg_Dbg( p_demux, "force SCR: %"PRId64, p_pkt->i_pts );
......
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