truemotion1: use av_freep()
authorPaul B Mahol <onemda@gmail.com>
Fri, 23 Aug 2013 23:12:42 +0000 (23:12 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 23 Aug 2013 23:22:39 +0000 (23:22 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/truemotion1.c

index 5a387ca..a1f4976 100644 (file)
@@ -891,7 +891,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx)
     TrueMotion1Context *s = avctx->priv_data;
 
     av_frame_unref(&s->frame);
-    av_free(s->vert_pred);
+    av_freep(&s->vert_pred);
 
     return 0;
 }