]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/y41penc.c
Merge commit '7a76c6c4df31d1ff65464ccf3171acd57ef004eb'
[ffmpeg] / libavcodec / y41penc.c
index 8f67944adff8c39ca4f5e81471290c717eb124d5..477861880ef457a3f02111791fec9e45d854fb63 100644 (file)
@@ -84,7 +84,7 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
 
 static av_cold int y41p_encode_close(AVCodecContext *avctx)
 {
-    av_freep(&avctx->coded_frame);
+    av_frame_free(&avctx->coded_frame);
 
     return 0;
 }