[vlc-commits] opengl: Avoid warnings about an unused variable

Martin Storsjö git at videolan.org
Mon Apr 1 19:01:40 CEST 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Mon Apr  1 11:53:03 2013 +0300| [ebef81bba3d6040291aa3d6832d47d6a97a7f13a] | committer: Martin Storsjö

opengl: Avoid warnings about an unused variable

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 modules/video_output/opengl.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index f58b372..c9d9df2 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -573,6 +573,8 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
                 return NULL;
             }
         }
+#else
+        (void)yuv_range_correction;
 #endif
     }
 



More information about the vlc-commits mailing list