From 86c500a47af1e8e8ceb3cd557b274654efbb51b4 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 1 Jun 2015 13:55:20 +0200 Subject: [PATCH] rtmpsink: Initialize GstMapInfo Avoids doing a call to unmap with it uninitialized CID #1302834 --- ext/rtmp/gstrtmpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rtmp/gstrtmpsink.c b/ext/rtmp/gstrtmpsink.c index 6886a89ff1..d2e7dbfb78 100644 --- a/ext/rtmp/gstrtmpsink.c +++ b/ext/rtmp/gstrtmpsink.c @@ -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 */