avformat/tls_schannel: Initialize ret
Fixes: CID1591881 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f022afea77ced5067f511530dd8ff137967db1d9) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a19d3de12a
commit
2528ab4895
@ -388,7 +388,7 @@ static int tls_read(URLContext *h, uint8_t *buf, int len)
|
||||
SECURITY_STATUS sspi_ret = SEC_E_OK;
|
||||
SecBuffer inbuf[4];
|
||||
SecBufferDesc inbuf_desc;
|
||||
int size, ret;
|
||||
int size, ret = 0;
|
||||
int min_enc_buf_size = len + SCHANNEL_FREE_BUFFER_SIZE;
|
||||
|
||||
/* If we have some left-over data from previous network activity,
|
||||
|
Loading…
x
Reference in New Issue
Block a user