forked from FFmpeg/FFmpeg
100l: av_freep() needs the address of the pointer
Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eb96f1698a
commit
f138fa78a3
1 changed files with 1 additions and 1 deletions
|
@ -1295,7 +1295,7 @@ static int avi_read_close(AVFormatContext *s)
|
||||||
AVIStream *ast = st->priv_data;
|
AVIStream *ast = st->priv_data;
|
||||||
av_free(st->codec->palctrl);
|
av_free(st->codec->palctrl);
|
||||||
if (ast->sub_ctx) {
|
if (ast->sub_ctx) {
|
||||||
av_freep(ast->sub_ctx->pb);
|
av_freep(&ast->sub_ctx->pb);
|
||||||
av_close_input_stream(ast->sub_ctx);
|
av_close_input_stream(ast->sub_ctx);
|
||||||
}
|
}
|
||||||
av_free(ast->sub_buffer);
|
av_free(ast->sub_buffer);
|
||||||
|
|
Loading…
Add table
Reference in a new issue