mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
rtmpsink: Initialize GstMapInfo
Avoids doing a call to unmap with it uninitialized CID #1302834
This commit is contained in:
parent
3477fc422b
commit
86c500a47a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue