[FFmpeg-devel] [PATCH 19/22] avformat/srtp: Remove use of av_uninit
Zhao Zhili
quinkblack at foxmail.com
Fri Apr 11 11:00:18 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavformat/srtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/srtp.c b/libavformat/srtp.c
index 7e5a42e327..d1e69c0702 100644
--- a/libavformat/srtp.c
+++ b/libavformat/srtp.c
@@ -128,8 +128,8 @@ int ff_srtp_decrypt(struct SRTPContext *s, uint8_t *buf, int *lenptr)
{
uint8_t iv[16] = { 0 }, hmac[20];
int len = *lenptr;
- int av_uninit(seq_largest);
- uint32_t ssrc, av_uninit(roc);
+ int seq_largest = 0;
+ uint32_t ssrc, roc = 0;
uint64_t index;
int rtcp, hmac_size;
--
2.46.0
More information about the ffmpeg-devel
mailing list