mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
[776/906] download: fix compiler warning about missing string format
This commit is contained in:
parent
e4f45140d6
commit
0df6a5e963
1 changed files with 2 additions and 1 deletions
|
@ -988,7 +988,8 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download)
|
||||||
sprintf (text_shader_ARGB, download->priv->ARGB, 'a', 'b', 'g', 'r');
|
sprintf (text_shader_ARGB, download->priv->ARGB, 'a', 'b', 'g', 'r');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
sprintf (text_shader_ARGB, text_shader_RGB_gles2);
|
memcpy (text_shader_ARGB, text_shader_RGB_gles2,
|
||||||
|
sizeof (text_shader_RGB_gles2));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue