Commit 42364fcb authored by Martin Storsjö's avatar Martin Storsjö

srtp: Mark a few variables as uninitialized

This squelches false positive warnings (with gcc) about them being
used uninitalized.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 0eecafc9
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment