Commit 7c304c0c authored by Satya Prakash Gupta's avatar Satya Prakash Gupta Committed by Sebastian Dröge
Browse files

libswscale: Memory leak in gst_video_frame_map
parent 98cf1a7e
......@@ -594,8 +594,10 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
goto invalid_buffer;
if (!gst_video_frame_map (&out_frame, &scale->out_info, outbuf,
gst_video_frame_unmap (&in_frame);
goto invalid_buffer;
sws_scale (scale->ctx, (const guint8 **),,
0, scale->in_info.height, (guint8 **),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment