mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_signalstats: reindent after last commit
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
25bb72af62
commit
a058d81570
|
@ -168,13 +168,13 @@ static int config_output(AVFilterLink *outlink)
|
||||||
s->vsub = desc->log2_chroma_h;
|
s->vsub = desc->log2_chroma_h;
|
||||||
s->depth = desc->comp[0].depth;
|
s->depth = desc->comp[0].depth;
|
||||||
s->maxsize = 1 << s->depth;
|
s->maxsize = 1 << s->depth;
|
||||||
s->histy = av_malloc_array(s->maxsize, sizeof(*s->histy));
|
s->histy = av_malloc_array(s->maxsize, sizeof(*s->histy));
|
||||||
s->histu = av_malloc_array(s->maxsize, sizeof(*s->histu));
|
s->histu = av_malloc_array(s->maxsize, sizeof(*s->histu));
|
||||||
s->histv = av_malloc_array(s->maxsize, sizeof(*s->histv));
|
s->histv = av_malloc_array(s->maxsize, sizeof(*s->histv));
|
||||||
s->histsat = av_malloc_array(s->maxsize, sizeof(*s->histsat));
|
s->histsat = av_malloc_array(s->maxsize, sizeof(*s->histsat));
|
||||||
|
|
||||||
if (!s->histy || !s->histu || !s->histv || !s->histsat)
|
if (!s->histy || !s->histu || !s->histv || !s->histsat)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
|
||||||
outlink->w = inlink->w;
|
outlink->w = inlink->w;
|
||||||
outlink->h = inlink->h;
|
outlink->h = inlink->h;
|
||||||
|
|
Loading…
Reference in New Issue