Commit d917c940 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

flxdec: fix integer overflow

Coverity 1139859
parent 60ba2d7a
......@@ -520,7 +520,7 @@ gst_flxdec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
GST_LOG ("(FLC) oframe2 : 0x%08x", flxh->oframe2);
}
flxdec->size = (flxh->width * flxh->height);
flxdec->size = ((guint) flxh->width * (guint) flxh->height);
/* create delta and output frame */
flxdec->frame_data = g_malloc (flxdec->size);
......
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