git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6995be4
)
avcodec/vp6: Use av_freep(), avoid leaving stale pointers
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Nov 2014 17:02:01 +0000
(18:02 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Nov 2014 17:03:27 +0000
(18:03 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp6.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp6.c
b/libavcodec/vp6.c
index
a18b8ff
..
e97ef76
100644
(file)
--- a/
libavcodec/vp6.c
+++ b/
libavcodec/vp6.c
@@
-651,7
+651,7
@@
static av_cold int vp6_decode_free(AVCodecContext *avctx)
if (s->alpha_context) {
ff_vp56_free_context(s->alpha_context);
vp6_decode_free_context(s->alpha_context);
- av_free
(
s->alpha_context);
+ av_free
p(&
s->alpha_context);
}
return 0;