[776/906] download: fix compiler warning about missing string format
This commit is contained in:
parent
228474806c
commit
26e46d449c
@ -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…
x
Reference in New Issue
Block a user