[vlc-commits] vout: remove dead code

Rémi Denis-Courmont git at videolan.org
Sun Feb 24 14:57:54 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 24 15:55:19 2019 +0200| [9585f0fa7951416db7eedde0750226706b7d76c8] | committer: Rémi Denis-Courmont

vout: remove dead code

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index d9ce06595a..b75dadb5d2 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1646,8 +1646,6 @@ static void VoutDestructor(vlc_object_t *object)
 
     /* */
     vout_snapshot_Destroy(vout->p->snapshot);
-    if (vout->p->input != NULL)
-        vlc_object_release((vlc_object_t *)vout->p->input);
     video_format_Clean(&vout->p->original);
 }
 



More information about the vlc-commits mailing list