mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
musepackdeck: unsigned can't be less than zero
Less-than-zero comparison of an unsigned value, guint64, is never true CID 1363334
This commit is contained in:
parent
0122fec530
commit
87a133aad2
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ gst_musepackdec_handle_seek_event (GstMusepackDec * dec, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (dec, "performing seek to sample %" G_GINT64_FORMAT,
|
||||
segment.start);
|
||||
|
||||
if (segment.start < 0 || segment.start >= segment.duration) {
|
||||
if (segment.start >= segment.duration) {
|
||||
GST_WARNING_OBJECT (dec, "seek out of bounds");
|
||||
goto failed;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue