mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
libs: encoder: h264fei: remove unnecessary assert
Issue detected by Coverity An unsigned value can never be negative, so this test will always evaluate the same way. In add_slice_headers: An unsigned value can never be less than 0
This commit is contained in:
parent
d69a4b8c05
commit
f82cec2ce3
1 changed files with 1 additions and 1 deletions
|
@ -864,7 +864,7 @@ add_slice_headers (GstVaapiFeiEncH264 * feienc, GstVaapiEncPicture * picture,
|
|||
slice_param->num_ref_idx_l1_active_minus1 = reflist_1_count - 1;
|
||||
else
|
||||
slice_param->num_ref_idx_l1_active_minus1 = 0;
|
||||
g_assert (slice_param->num_ref_idx_l0_active_minus1 >= 0);
|
||||
g_assert (slice_param->num_ref_idx_l0_active_minus1 == 0);
|
||||
g_assert (slice_param->num_ref_idx_l1_active_minus1 == 0);
|
||||
|
||||
i_ref = 0;
|
||||
|
|
Loading…
Reference in a new issue