mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
glbasememory: Remove bogus NULL check
CID 1346534
This commit is contained in:
parent
bf86d7fef1
commit
aaa660ac9d
1 changed files with 0 additions and 5 deletions
|
@ -527,11 +527,6 @@ gst_gl_base_memory_memcpy (GstGLBaseMemory * src, GstGLBaseMemory * dest,
|
|||
if (!gst_gl_base_memory_alloc_data (GST_GL_BASE_MEMORY_CAST (dest)))
|
||||
return FALSE;
|
||||
|
||||
if (dest == NULL) {
|
||||
GST_CAT_WARNING (GST_CAT_GL_BASE_MEMORY, "Could not copy GL Buffer");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!gst_memory_map ((GstMemory *) src, &sinfo, GST_MAP_READ)) {
|
||||
GST_CAT_WARNING (GST_CAT_GL_BASE_MEMORY,
|
||||
"could not read map source memory %p", src);
|
||||
|
|
Loading…
Reference in a new issue