]> git.sesse.net Git - vlc/blobdiff - modules/demux/ts.c
skins2: fix compil warning
[vlc] / modules / demux / ts.c
index 1af2956bd47b8058d0d6a38a431c6967f89c9f38..df8c54d1c51953ae10107d02a69d5d3492dd6641 100644 (file)
@@ -1553,11 +1553,8 @@ static void PIDInit( ts_pid_t *pid, bool b_psi, ts_psi_t *p_owner )
         if( !b_old_valid )
         {
             pid->psi = xmalloc( sizeof( ts_psi_t ) );
-            if( pid->psi )
-            {
-                pid->psi->handle = NULL;
-                TAB_INIT( pid->psi->i_prg, pid->psi->prg );
-            }
+            pid->psi->handle = NULL;
+            TAB_INIT( pid->psi->i_prg, pid->psi->prg );
         }
         assert( pid->psi );