[vlc-commits] vout/caopengllayer: Remove unused variable

Marvin Scholz git at videolan.org
Wed Jul 11 13:59:13 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jul 11 13:49:45 2018 +0200| [7342a8cf3215a6d51527afe66abb4107bbeb3ade] | committer: Marvin Scholz

vout/caopengllayer: Remove unused variable

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

 modules/video_output/caopengllayer.m | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index ac120be93e..1b9c2724b9 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -182,7 +182,6 @@ static int Open (vlc_object_t *p_this)
         glsys->cgLayer = sys->cgLayer;
 
         const vlc_fourcc_t *subpicture_chromas;
-        video_format_t fmt = vd->fmt;
         if (!OpenglLock(sys->gl)) {
             sys->vgl = vout_display_opengl_New(&vd->fmt, &subpicture_chromas,
                                                sys->gl, &vd->cfg->viewpoint);



More information about the vlc-commits mailing list