h266parse: test: Pass correct size argument to va_arg function

sizeof(int) != sizeof (gsize)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9151>
This commit is contained in:
Doug Nazar 2025-05-30 19:15:56 -04:00 committed by GStreamer Marge Bot
parent 0add16906a
commit 13f3656b7b

View File

@ -1190,7 +1190,7 @@ GST_START_TEST (test_parse_sc_with_half_nal)
buf1 = composite_buffer (100, 0, 5, h266_vps, sizeof (h266_vps),
h266_sps, sizeof (h266_sps), h266_pps, sizeof (h266_pps),
h266_prefix_aps, sizeof (h266_prefix_aps), h266_idr, 20);
h266_prefix_aps, sizeof (h266_prefix_aps), h266_idr, (gsize) 20);
buf2 = composite_buffer (100, 0, 2, h266_idr + 20, sizeof (h266_idr) - 20,
h266_suffix_sei, sizeof (h266_suffix_sei));