projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2faa08f
)
msdk: Fix invalid return type build warning
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 25 Dec 2018 07:10:57 +0000
(16:10 +0900)
committer
Seungha 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
patch
|
blob
|
history
diff --git
a/sys/msdk/gstmsdkbufferpool.c
b/sys/msdk/gstmsdkbufferpool.c
index
41a8e67
..
75a4ea6
100644
(file)
--- a/
sys/msdk/gstmsdkbufferpool.c
+++ b/
sys/msdk/gstmsdkbufferpool.c
@@
-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