mxfdemux: Only access the index table if it has enough elements
This commit is contained in:
parent
6e06f8c936
commit
f2eaa68c90
@ -1743,7 +1743,7 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index_table) {
|
if (index_table && index_table->offsets->len > etrack->position) {
|
||||||
GstMXFDemuxIndex *index =
|
GstMXFDemuxIndex *index =
|
||||||
&g_array_index (index_table->offsets, GstMXFDemuxIndex,
|
&g_array_index (index_table->offsets, GstMXFDemuxIndex,
|
||||||
etrack->position);
|
etrack->position);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user