Mercurial > libavformat.hg
changeset 6340:3ef72a19674e libavformat
100l: av_freep() needs the address of the pointer
author | aurel |
---|---|
date | Fri, 30 Jul 2010 23:41:12 +0000 |
parents | 491eea5c52d6 |
children | b7a16d6df72a |
files | avidec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avidec.c Fri Jul 30 12:04:27 2010 +0000 +++ b/avidec.c Fri Jul 30 23:41:12 2010 +0000 @@ -1295,7 +1295,7 @@ AVIStream *ast = st->priv_data; av_free(st->codec->palctrl); if (ast->sub_ctx) { - av_freep(ast->sub_ctx->pb); + av_freep(&ast->sub_ctx->pb); av_close_input_stream(ast->sub_ctx); } av_free(ast->sub_buffer);