projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c65d0
)
Use av_freep intead of av_free to free pointers in vp56 context.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 23 Jan 2010 13:49:09 +0000
(13:49 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 23 Jan 2010 13:49:09 +0000
(13:49 +0000)
Originally committed as revision 21395 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp56.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp56.c
b/libavcodec/vp56.c
index
a5d6308
..
cbac71b
100644
(file)
--- a/
libavcodec/vp56.c
+++ b/
libavcodec/vp56.c
@@
-687,9
+687,9
@@
av_cold int vp56_free(AVCodecContext *avctx)
{
VP56Context *s = avctx->priv_data;
- av_free
(
s->above_blocks);
- av_free
(
s->macroblocks);
- av_free
(
s->edge_emu_buffer_alloc);
+ av_free
p(&
s->above_blocks);
+ av_free
p(&
s->macroblocks);
+ av_free
p(&
s->edge_emu_buffer_alloc);
if (s->framep[VP56_FRAME_GOLDEN]->data[0])
avctx->release_buffer(avctx, s->framep[VP56_FRAME_GOLDEN]);
if (s->framep[VP56_FRAME_GOLDEN2]->data[0])