[SCM] libav/experimental: 100l: av_freep() needs the address of the pointer
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:13:08 UTC 2013
The following commit has been merged in the experimental branch:
commit f138fa78a3bb0a44dc9bef051b146db2453ca279
Author: Aurelien Jacobs <aurel at gnuage.org>
Date: Fri Jul 30 23:41:12 2010 +0000
100l: av_freep() needs the address of the pointer
Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index b4670b5..9a56bbc 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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list