This squelches false positive warnings (with gcc) about them being
used uninitalized.
---
libavformat/srtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/srtp.c b/libavformat/srtp.c
index 9ff1401..e603851 100644
--- a/libavformat/srtp.c
+++ b/libavformat/srtp.c
@@ -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;
--
1.7.9.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel