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:
feac77a
)
glmixer: Include string.h for memset()
author
Sebastian Dröge
<sebastian@centricular.com>
Sat, 5 May 2018 15:47:55 +0000
(17:47 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sat, 5 May 2018 15:48:30 +0000
(17:48 +0200)
gstglmixer.c:143:5: error: implicit declaration of function ‘memset’ [-Werror=implicit-function-declaration]
memset (prepared_frame, 0, sizeof (GstVideoFrame));
^~~~~~
gstglmixer.c:143:5: error: incompatible implicit declaration of built-in function ‘memset’ [-Werror]
ext/gl/gstglmixer.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglmixer.c
b/ext/gl/gstglmixer.c
index
a7d2240
..
b4602ea
100644
(file)
--- a/
ext/gl/gstglmixer.c
+++ b/
ext/gl/gstglmixer.c
@@
-26,6
+26,8
@@
#include <gst/gst.h>
#include <gst/video/video.h>
+#include <string.h>
+
#include "gstglmixer.h"
#define gst_gl_mixer_parent_class parent_class