projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273d0a0
)
bitwriter: Fix build error
author
Seungha Yang
<seungha.yang@navercorp.com>
Mon, 7 May 2018 01:47:00 +0000
(10:47 +0900)
committer
Víctor Manuel Jáquez Leal
<vjaquez@igalia.com>
Mon, 7 May 2018 06:35:47 +0000
(08:35 +0200)
Fix implicit-function-declaration warning for meemst and memcpy
gstbitwriter.h:166:3: error: implicit declaration of function ‘memset’
memset (bitwriter->data + clear_pos, 0, (new_bit_size >> 3) - clear_pos);
^
https://bugzilla.gnome.org/show_bug.cgi?id=795867
libs/gst/base/gstbitwriter.h
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbitwriter.h
b/libs/gst/base/gstbitwriter.h
index
9e0b7c8
..
e647e94
100644
(file)
--- a/
libs/gst/base/gstbitwriter.h
+++ b/
libs/gst/base/gstbitwriter.h
@@
-26,6
+26,8
@@
#include <gst/gst.h>
#include <gst/base/base-prelude.h>
+#include <string.h>
+
G_BEGIN_DECLS
#define GST_BIT_WRITER_DATA(writer) ((writer)->data)