diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 1db7495beef670abae2045ef7c009f38557f8c63..ec4b0e73f3407508516e00403277408be5d8e808 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; }