diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-07-31 03:41:12 +0400 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-07-31 03:41:12 +0400 |
commit | f138fa78a3bb0a44dc9bef051b146db2453ca279 (patch) | |
tree | a5d6a169a58417982d4bd2925cf1a2334b7827d7 /libavformat/avidec.c | |
parent | eb96f1698a4e72d6a4a0c7fffbff940380e9fa92 (diff) |
100l: av_freep() needs the address of the pointer
Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index b4670b5e9e..9a56bbca69 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1295,7 +1295,7 @@ static int avi_read_close(AVFormatContext *s) 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); |