diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-10-09 14:04:46 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-10-09 14:04:46 +0200 |
commit | 3fbda309e553428211b79ea0ca128b3aaf0f9033 (patch) | |
tree | 45aa733c638363f0549a66e955c1c1f40d7ce852 | |
parent | 7bc433b36dbb0747c0c03e8222044b06e63ff75f (diff) | |
download | ffmpeg-3fbda309e553428211b79ea0ca128b3aaf0f9033.tar.gz |
avcodec: free extended_data instead address of it
Fixes CID732173.
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index bd80d7bf13..48d63489bc 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; } |