[FFmpeg-cvslog] truemotion1: use av_freep()
Paul B Mahol
git at videolan.org
Sat Aug 24 01:22:48 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Aug 23 23:12:42 2013 +0000| [83b915d495eab386c07a4ec7859acaf64fcf58c9] | committer: Paul B Mahol
truemotion1: use av_freep()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83b915d495eab386c07a4ec7859acaf64fcf58c9
---
libavcodec/truemotion1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 5a387ca..a1f4976 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;
}
More information about the ffmpeg-cvslog
mailing list