[vlc-commits] pva: remove redundant test
Rémi Denis-Courmont
git at videolan.org
Mon Nov 27 18:16:37 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 27 19:10:25 2017 +0200| [71cbdc473a93a94b03b076fdb1a8a8aa57174a24] | committer: Rémi Denis-Courmont
pva: remove redundant test
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71cbdc473a93a94b03b076fdb1a8a8aa57174a24
---
modules/demux/pva.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/pva.c b/modules/demux/pva.c
index 106a0fc049..5dad1b86fa 100644
--- a/modules/demux/pva.c
+++ b/modules/demux/pva.c
@@ -128,8 +128,8 @@ static void Close( vlc_object_t *p_this )
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
- if( p_sys->p_es ) block_ChainRelease( p_sys->p_es );
- if( p_sys->p_pes ) block_ChainRelease( p_sys->p_pes );
+ block_ChainRelease( p_sys->p_es );
+ block_ChainRelease( p_sys->p_pes );
free( p_sys );
}
More information about the vlc-commits
mailing list