msdk: Fix invalid return type build warning
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 25 Dec 2018 07:10:57 +0000 (16:10 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Tue, 25 Dec 2018 07:14:36 +0000 (16:14 +0900)
void function cannot have return value

gst-plugins-bad/sys/msdk/gstmsdkbufferpool.c(332): warning C4098:
'gst_msdk_buffer_pool_release_buffer': ...

sys/msdk/gstmsdkbufferpool.c

index 41a8e67..75a4ea6 100644 (file)
@@ -329,7 +329,7 @@ gst_msdk_buffer_pool_release_buffer (GstBufferPool * pool, GstBuffer * buf)
   gst_msdk_video_memory_release_surface (gst_buffer_peek_memory (buf, 0));
 
 done:
-  return GST_BUFFER_POOL_CLASS (parent_class)->release_buffer (pool, buf);
+  GST_BUFFER_POOL_CLASS (parent_class)->release_buffer (pool, buf);
 }
 
 static void