bitwriter: Fix build error

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
This commit is contained in:
Seungha Yang 2018-05-07 10:47:00 +09:00 committed by Víctor Manuel Jáquez Leal
parent 273d0a05e8
commit 69ddcc175f

View file

@ -26,6 +26,8 @@
#include <gst/gst.h> #include <gst/gst.h>
#include <gst/base/base-prelude.h> #include <gst/base/base-prelude.h>
#include <string.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_BIT_WRITER_DATA(writer) ((writer)->data) #define GST_BIT_WRITER_DATA(writer) ((writer)->data)