mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
[782/906] gldownload: Use strlen() instead of sizeof(char*)
gstgldownload.c:846:22: error: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
This commit is contained in:
parent
e32e8f45e0
commit
82eb297aba
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download)
|
|||
break;
|
||||
default:
|
||||
memcpy (text_shader_ARGB, text_shader_RGB_gles2,
|
||||
sizeof (text_shader_RGB_gles2));
|
||||
strlen (text_shader_RGB_gles2) + 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue