[vlc-commits] OpenGL: remove no-op

Rémi Denis-Courmont git at videolan.org
Sat Nov 15 11:43:07 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 15 12:42:15 2014 +0200| [22d444c316fd31687463009c8fb5381ae993beb7] | committer: Rémi Denis-Courmont

OpenGL: remove no-op

vlc_fourcc_GetChromaDescription() has no side effects.

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

 modules/video_output/opengl.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index f01b550..b35c074 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -584,7 +584,6 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
     }
 
     if (fmt->i_chroma == VLC_CODEC_XYZ12) {
-        vlc_fourcc_GetChromaDescription(fmt->i_chroma);
         need_fs_xyz       = true;
         vgl->fmt          = *fmt;
         vgl->fmt.i_chroma = VLC_CODEC_XYZ12;



More information about the vlc-commits mailing list