ffmpegscale: add cast to fix compiler warning

This commit is contained in:
Tim-Philipp Müller 2011-07-05 10:42:56 +01:00
parent 7b2e3137a5
commit 508d4918b0

View file

@ -646,7 +646,8 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
goto invalid_buffer;
sws_scale (scale->ctx, (const guint8 **) in_frame.data, in_frame.info.stride,
0, scale->in_info.height, out_frame.data, out_frame.info.stride);
0, scale->in_info.height, (guint8 **) out_frame.data,
out_frame.info.stride);
gst_video_frame_unmap (&in_frame);
gst_video_frame_unmap (&out_frame);