[vlc-commits] input: resource: remove redundant p_vout_free set

Steve Lhomme git at videolan.org
Wed Oct 9 13:55:38 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Oct  9 11:14:07 2019 +0200| [62869efc7db7312ab4df55ea5163831006fc19f4] | committer: Steve Lhomme

input: resource: remove redundant p_vout_free set

It's already set to NULL above if it wasn't NULL.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=62869efc7db7312ab4df55ea5163831006fc19f4
---

 src/input/resource.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index b4ffbd68ce..727b7e940a 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -155,8 +155,6 @@ static void DestroyVout( input_resource_t *p_resource )
         vout_Close( p_resource->p_vout_free );
         p_resource->p_vout_free = NULL;
     }
-
-    p_resource->p_vout_free = NULL;
 }
 
 static void DisplayVoutTitle( input_resource_t *p_resource,



More information about the vlc-commits mailing list