OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb6dd77
)
avcodec/ffv1: use av_freep()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 13 Apr 2015 18:05:56 +0000
(20:05 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 13 Apr 2015 18:05:56 +0000
(20:05 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1.c
b/libavcodec/ffv1.c
index
20d20cc
..
eb613c7
100644
(file)
--- a/
libavcodec/ffv1.c
+++ b/
libavcodec/ffv1.c
@@
-148,8
+148,8
@@
av_cold int ffv1_init_slice_contexts(FFV1Context *f)
memfail:
for (j = 0; j < i; j++) {
- av_free(&f->slice_context[j]->sample_buffer);
- av_free(&f->slice_context[j]);
+ av_free
p
(&f->slice_context[j]->sample_buffer);
+ av_free
p
(&f->slice_context[j]);
}
return AVERROR(ENOMEM);
}