Skip to content
Snippets Groups Projects
Commit 42364fcb authored by Martin Storsjö's avatar Martin Storsjö
Browse files

srtp: Mark a few variables as uninitialized


This squelches false positive warnings (with gcc) about them being
used uninitalized.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 0eecafc9
No related branches found
No related tags found
No related merge requests found
...@@ -121,8 +121,8 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, int *lenptr) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment