[FFmpeg-cvslog] avcodec/cdxl: use av_freep()
Paul B Mahol
git at videolan.org
Sat Sep 14 12:52:07 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 14 10:45:14 2013 +0000| [8134edf3eb1a2479462f107e160d6f3c29853c46] | committer: Paul B Mahol
avcodec/cdxl: use av_freep()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8134edf3eb1a2479462f107e160d6f3c29853c46
---
libavcodec/cdxl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index 468b294..e6bcaea 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;
}
More information about the ffmpeg-cvslog
mailing list