]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/snowenc.c
avcodec/mjpegdec: Add YUVA420 formats to *scale asserts
[ffmpeg] / libavcodec / snowenc.c
index c790d9b04f70078b50b182d1e9e1612a0d3f12ff..cbc89c985bb81e62cfcfa6619802de9a8405937d 100644 (file)
@@ -1862,7 +1862,7 @@ static av_cold int encode_end(AVCodecContext *avctx)
     ff_snow_common_end(s);
     ff_rate_control_uninit(&s->m);
     av_frame_free(&s->input_picture);
-    av_free(avctx->stats_out);
+    av_freep(&avctx->stats_out);
 
     return 0;
 }