]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/crystalhd.c
Merge commit '443502aed8b814d883825e52e91e4f018955aa66'
[ffmpeg] / libavcodec / crystalhd.c
index 45b2d466615623bd6c48040c480a64927c386284..001afa4ff460763b04ab7fbccdd4ea1f1bef7d84 100644 (file)
@@ -362,7 +362,7 @@ static av_cold int uninit(AVCodecContext *avctx)
         av_bitstream_filter_close(priv->bsfc);
     }
 
-    av_free(priv->sps_pps_buf);
+    av_freep(&priv->sps_pps_buf);
 
     av_frame_free (&priv->pic);