Module: libav Branch: master Commit: 3fbda309e553428211b79ea0ca128b3aaf0f9033
Author: Janne Grunau <[email protected]> Committer: Janne Grunau <[email protected]> Date: Tue Oct 9 14:04:46 2012 +0200 avcodec: free extended_data instead address of it Fixes CID732173. --- libavcodec/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index bd80d7b..48d6348 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -322,7 +322,7 @@ static int audio_get_buffer(AVCodecContext *avctx, AVFrame *frame) if (buf->extended_data[0] && buf_size > buf->audio_data_size) { av_free(buf->extended_data[0]); if (buf->extended_data != buf->data) - av_free(&buf->extended_data); + av_free(buf->extended_data); buf->extended_data = NULL; buf->data[0] = NULL; } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
