[vlc-commits] ts: remove tautology
Rémi Denis-Courmont
git at videolan.org
Tue Aug 25 20:33:19 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 25 21:24:01 2015 +0300| [1352643ae209a447f5f840718ad2a240f30793f1] | committer: Rémi Denis-Courmont
ts: remove tautology
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1352643ae209a447f5f840718ad2a240f30793f1
---
modules/demux/mpeg/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 67a12e6..b10aade 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -5354,7 +5354,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
p_pes->es.fmt.i_extra ) ) ||
pespid->u.p_pes->extra_es.i_size != p_pes->extra_es.i_size ||
!!pespid->u.p_pes->es.fmt.psz_language != !!p_pes->es.fmt.psz_language ||
- ( pespid->u.p_pes->es.fmt.psz_language && p_pes->es.fmt.psz_language &&
+ ( pespid->u.p_pes->es.fmt.psz_language != NULL &&
strcmp( pespid->u.p_pes->es.fmt.psz_language, p_pes->es.fmt.psz_language ) )
)
{
More information about the vlc-commits
mailing list