]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/r210enc.c
avcodec/wmadec: Fix undefined shift in wma_decode_block()
[ffmpeg] / libavcodec / r210enc.c
index 07dfc50bf0cf0a325a9d3d8238a4467d70cd93dd..b7d5a07deb5d0ffb9ecd7b428f14bb585aafe195 100644 (file)
@@ -80,7 +80,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
 
 static av_cold int encode_close(AVCodecContext *avctx)
 {
-    av_freep(&avctx->coded_frame);
+    av_frame_free(&avctx->coded_frame);
 
     return 0;
 }