diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-15 15:19:55 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-15 23:18:08 +0200 |
commit | 42364fcbcac99c42a9859c3662a2956e5554b68c (patch) | |
tree | f81e74494f4d26b31c77d3a189bdee9aa41fa94d /libavformat | |
parent | 0eecafc948b74c247ebbc59f18f508db5d590d0b (diff) | |
download | ffmpeg-42364fcbcac99c42a9859c3662a2956e5554b68c.tar.gz |
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')
-rw-r--r-- | libavformat/srtp.c | 4 |
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; |