summaryrefslogtreecommitdiff
path: root/gst/mxf/mxful.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mxf/mxful.c')
-rw-r--r--gst/mxf/mxful.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mxf/mxful.c b/gst/mxf/mxful.c
index 3d186f915..01d1f1b9f 100644
--- a/gst/mxf/mxful.c
+++ b/gst/mxf/mxful.c
@@ -641,7 +641,7 @@ mxf_ul_array_parse (MXFUL ** array, guint32 * count, const guint8 * data,
return FALSE;
}
- if (16 * element_count < size) {
+ if (element_count > size / 16) {
*array = NULL;
*count = 0;
return FALSE;