summaryrefslogtreecommitdiff
path: root/libavformat/srtp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-15 15:19:55 +0200
committerMartin Storsjö <martin@martin.st>2013-01-15 23:18:08 +0200
commit42364fcbcac99c42a9859c3662a2956e5554b68c (patch)
treef81e74494f4d26b31c77d3a189bdee9aa41fa94d /libavformat/srtp.c
parent0eecafc948b74c247ebbc59f18f508db5d590d0b (diff)
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>
Diffstat (limited to 'libavformat/srtp.c')
-rw-r--r--libavformat/srtp.c4
1 files changed, 2 insertions, 2 deletions
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;