diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-05-02 14:18:08 +0100 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2014-05-02 14:18:08 +0100 |
commit | d917c94037beb20b0413cf281afadaf583c28c6a (patch) | |
tree | 863045fd9b3b01b9d835f290683c3b3324e09886 /gst/flx | |
parent | 60ba2d7aee37b73a5318f20967eac601e26fe928 (diff) |
flxdec: fix integer overflow
Coverity 1139859
Diffstat (limited to 'gst/flx')
-rw-r--r-- | gst/flx/gstflxdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 35e934edb..3df4e9b86 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -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); |