rtmpsink: Initialize GstMapInfo
Avoids doing a call to unmap with it uninitialized CID #1302834
This commit is contained in:
parent
3477fc422b
commit
86c500a47a
@ -209,7 +209,7 @@ gst_rtmp_sink_render (GstBaseSink * bsink, GstBuffer * buf)
|
||||
{
|
||||
GstRTMPSink *sink = GST_RTMP_SINK (bsink);
|
||||
GstBuffer *reffed_buf = NULL;
|
||||
GstMapInfo map;
|
||||
GstMapInfo map = GST_MAP_INFO_INIT;
|
||||
|
||||
if (sink->rtmp == NULL) {
|
||||
/* Do not crash */
|
||||
|
Loading…
x
Reference in New Issue
Block a user