mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
tests/webrtcbin: Remove useless checks with unsigned values
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
1221a09a5d
commit
fc5b616fca
1 changed files with 2 additions and 2 deletions
|
@ -1593,8 +1593,8 @@ validate_codec_stats (const GstStructure * s)
|
|||
fail_unless (gst_structure_get (s, "payload-type", G_TYPE_UINT, &pt, NULL));
|
||||
fail_unless (gst_structure_get (s, "clock-rate", G_TYPE_UINT, &clock_rate,
|
||||
NULL));
|
||||
fail_unless (pt >= 0 && pt <= 127);
|
||||
fail_unless (clock_rate >= 0);
|
||||
fail_unless (pt <= 127);
|
||||
/* NOTE: Can't check the validity of the clock rate. It could be anything from 0 to the maximum value */
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue