mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
srtp: Mark a few variables as uninitialized
This squelches false positive warnings (with gcc) about them being used uninitalized. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
0eecafc948
commit
42364fcbca
1 changed files with 2 additions and 2 deletions
|
|
@ -121,8 +121,8 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, int *lenptr)
|
||||||
{
|
{
|
||||||
uint8_t iv[16] = { 0 }, hmac[20];
|
uint8_t iv[16] = { 0 }, hmac[20];
|
||||||
int len = *lenptr;
|
int len = *lenptr;
|
||||||
int ext, seq_largest;
|
int ext, av_uninit(seq_largest);
|
||||||
uint32_t ssrc, roc;
|
uint32_t ssrc, av_uninit(roc);
|
||||||
uint64_t index;
|
uint64_t index;
|
||||||
int rtcp;
|
int rtcp;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue