mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
glbasememory: Remove bogus NULL check
CID 1346534
This commit is contained in:
parent
04d5db14be
commit
0aa1373a61
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