glmixer: Include string.h for memset()

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]
This commit is contained in:
Sebastian Dröge 2018-05-05 17:47:55 +02:00
parent feac77ace3
commit 5d27bd1db0

View file

@ -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