This simplifies the code slightly.
---
 libavformat/srtp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/srtp.c b/libavformat/srtp.c
index 21dafc2..94ec053 100644
--- a/libavformat/srtp.c
+++ b/libavformat/srtp.c
@@ -121,7 +121,7 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, 
int *lenptr)
 {
     uint8_t iv[16] = { 0 }, hmac[20];
     int len = *lenptr;
-    int ext, av_uninit(seq_largest);
+    int av_uninit(seq_largest);
     uint32_t ssrc, av_uninit(roc);
     uint64_t index;
     int rtcp;
@@ -190,7 +190,7 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, 
int *lenptr)
         if (!(srtcp_index & 0x80000000))
             return 0;
     } else {
-        int csrc;
+        int ext, csrc;
         s->seq_initialized = 1;
         s->seq_largest     = seq_largest;
         s->roc             = roc;
-- 
1.7.9.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to