[FFmpeg-cvslog] avformat/rtmpproto: free hmac context properly
James Almer
git at videolan.org
Thu Jul 30 04:57:31 CEST 2015
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jul 29 23:56:22 2015 -0300| [6ce3d9fc4a70958680b93c6995cc87f34630a7e3] | committer: James Almer
avformat/rtmpproto: free hmac context properly
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ce3d9fc4a70958680b93c6995cc87f34630a7e3
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index d6c772c..51d9ac6 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -971,7 +971,7 @@ int ff_rtmp_calc_digest(const uint8_t *src, int len, int gap,
}
av_hmac_final(hmac, dst, 32);
- av_free(hmac);
+ av_hmac_free(hmac);
return 0;
}
More information about the ffmpeg-cvslog
mailing list