aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/truemotion1.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-23 23:12:42 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-23 23:22:39 +0000
commit83b915d495eab386c07a4ec7859acaf64fcf58c9 (patch)
tree10af8d0403419711b5a01fdef1459df76defcc00 /libavcodec/truemotion1.c
parent5cc8b816875d3ae110ba7bde6b16bd0246f2e225 (diff)
downloadffmpeg-83b915d495eab386c07a4ec7859acaf64fcf58c9.tar.gz
truemotion1: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r--libavcodec/truemotion1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 5a387ca168..a1f497602e 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -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;
}