mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
mxfdemux: Remove useless check
values will always be positive Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
5bc4ebfe61
commit
67c4c35fb7
1 changed files with 1 additions and 2 deletions
|
@ -5061,8 +5061,7 @@ collect_index_table_segments (GstMXFDemux * demux)
|
|||
MXFIndexEntry *entry = &s->index_entries[entidx];
|
||||
gint8 offs = -entry->temporal_offset;
|
||||
/* Check we don't exceed boundaries */
|
||||
if ((start + entidx + entry->temporal_offset) < 0 ||
|
||||
(start + entidx + entry->temporal_offset) >
|
||||
if (start + entidx + entry->temporal_offset >
|
||||
table->reverse_temporal_offsets->len) {
|
||||
GST_ERROR_OBJECT (demux,
|
||||
"Temporal offset exceeds boundaries. entry:%d offset:%d max:%d",
|
||||
|
|
Loading…
Reference in a new issue