[vlc-devel] [PATCH 1/2] livehttp: use size_t for stuffing_size
Steve Lhomme
robux4 at ycbcr.xyz
Fri Apr 2 13:46:10 UTC 2021
The stuffing size is always between 0 and 15. It matches the possible index
values to access stuffing_bytes[16].
---
modules/access_output/livehttp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access_output/livehttp.c b/modules/access_output/livehttp.c
index bbb2c5fc45d..2ff1eb2c28a 100644
--- a/modules/access_output/livehttp.c
+++ b/modules/access_output/livehttp.c
@@ -200,7 +200,7 @@ typedef struct
gcry_cipher_hd_t aes_ctx;
char *key_uri;
uint8_t stuffing_bytes[16];
- ssize_t stuffing_size;
+ size_t stuffing_size;
vlc_array_t segments_t;
} sout_access_out_sys_t;
--
2.29.2
More information about the vlc-devel
mailing list