mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
flxdec: fix integer overflow
Coverity 1139859
This commit is contained in:
parent
60ba2d7aee
commit
d917c94037
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue