aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-14 10:45:14 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-14 10:45:14 +0000
commit8134edf3eb1a2479462f107e160d6f3c29853c46 (patch)
tree38abaac8e9237c81ce5f7b374504ae013a0dcec9
parent8728360b5664ef9db31137d8d3104cac33b9a911 (diff)
downloadffmpeg-8134edf3eb1a2479462f107e160d6f3c29853c46.tar.gz
avcodec/cdxl: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/cdxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index 468b294865..e6bcaeaa09 100644
--- a/libavcodec/cdxl.c
+++ b/libavcodec/cdxl.c
@@ -291,7 +291,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx)
{
CDXLVideoContext *c = avctx->priv_data;
- av_free(c->new_video);
+ av_freep(&c->new_video);
return 0;
}