Commit 22d444c3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

OpenGL: remove no-op

vlc_fourcc_GetChromaDescription() has no side effects.
parent f39ed931
...@@ -584,7 +584,6 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt, ...@@ -584,7 +584,6 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
} }
if (fmt->i_chroma == VLC_CODEC_XYZ12) { if (fmt->i_chroma == VLC_CODEC_XYZ12) {
vlc_fourcc_GetChromaDescription(fmt->i_chroma);
need_fs_xyz = true; need_fs_xyz = true;
vgl->fmt = *fmt; vgl->fmt = *fmt;
vgl->fmt.i_chroma = VLC_CODEC_XYZ12; vgl->fmt.i_chroma = VLC_CODEC_XYZ12;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment