OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb96f16
)
100l: av_freep() needs the address of the pointer
author
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 30 Jul 2010 23:41:12 +0000
(23:41 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 30 Jul 2010 23:41:12 +0000
(23:41 +0000)
Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
b4670b5
..
9a56bbc
100644
(file)
--- 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);