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:
6b36f57
)
avfilter/avectorscope: fix {} mistake in alloc check.
author
Clément Bœsch
<clement@stupeflix.com>
Thu, 26 Dec 2013 12:48:30 +0000
(13:48 +0100)
committer
Clément Bœsch
<clement@stupeflix.com>
Thu, 26 Dec 2013 12:49:15 +0000
(13:49 +0100)
libavfilter/avf_avectorscope.c
patch
|
blob
|
history
diff --git
a/libavfilter/avf_avectorscope.c
b/libavfilter/avf_avectorscope.c
index
3ca596c
..
f9ebc0f
100644
(file)
--- a/
libavfilter/avf_avectorscope.c
+++ b/
libavfilter/avf_avectorscope.c
@@
-186,9
+186,10
@@
static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
p->outpicref->height != outlink->h) {
av_frame_free(&p->outpicref);
p->outpicref = ff_get_video_buffer(outlink, outlink->w, outlink->h);
- if (!p->outpicref)
+ if (!p->outpicref)
{
av_frame_free(&insamples);
return AVERROR(ENOMEM);
+ }
for (i = 0; i < outlink->h; i++)
memset(p->outpicref->data[0] + i * p->outpicref->linesize[0], 0, outlink->w * 4);