]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresenc_anatoliy.c
avcodec: use av_frame_free() for coded_frame
[ffmpeg] / libavcodec / proresenc_anatoliy.c
index 801d58ed7b2bb851657b609e1236b146c73770f8..634ff08732fa6378f76f431310e72e69890d46c9 100644 (file)
@@ -601,7 +601,7 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
 static av_cold int prores_encode_close(AVCodecContext *avctx)
 {
     ProresContext* ctx = avctx->priv_data;
-    av_freep(&avctx->coded_frame);
+    av_frame_free(&avctx->coded_frame);
     av_freep(&ctx->fill_y);
 
     return 0;