mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
273d0a05e8
commit
69ddcc175f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue