Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git] / 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);