[776/906] download: fix compiler warning about missing string format

This commit is contained in:
Matthew Waters 2013-07-17 21:17:03 +10:00 committed by Tim-Philipp Müller
parent e4f45140d6
commit 0df6a5e963

View file

@ -988,7 +988,8 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download)
sprintf (text_shader_ARGB, download->priv->ARGB, 'a', 'b', 'g', 'r');
break;
default:
sprintf (text_shader_ARGB, text_shader_RGB_gles2);
memcpy (text_shader_ARGB, text_shader_RGB_gles2,
sizeof (text_shader_RGB_gles2));
break;
}