mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02: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
@ -121,8 +121,8 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, int *lenptr)
|
||||
{
|
||||
uint8_t iv[16] = { 0 }, hmac[20];
|
||||
int len = *lenptr;
|
||||
int ext, seq_largest;
|
||||
uint32_t ssrc, roc;
|
||||
int ext, av_uninit(seq_largest);
|
||||
uint32_t ssrc, av_uninit(roc);
|
||||
uint64_t index;
|
||||
int rtcp;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user