From 42364fcbcac99c42a9859c3662a2956e5554b68c Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 15 Jan 2013 15:19:55 +0200 Subject: srtp: Mark a few variables as uninitialized MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This squelches false positive warnings (with gcc) about them being used uninitalized. Signed-off-by: Martin Storsjö --- libavformat/srtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/srtp.c') diff --git a/libavformat/srtp.c b/libavformat/srtp.c index de48c1461a..ebc5c98fd7 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; -- cgit v1.2.3