aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-09 05:19:14 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-10 02:13:02 +0100
commitf0a5f71074d914dde1585f12ae5101bd639b83e1 (patch)
tree2f1223d19881f8281426b91681000cd94259e6de /libavfilter
parent3da54858d36c0371e713935b69c5df5f050ca1b3 (diff)
downloadffmpeg-f0a5f71074d914dde1585f12ae5101bd639b83e1.tar.gz
lavfi/hue: reindent.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_hue.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index 481113d4f1..478ce6e141 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -287,12 +287,12 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
direct = 1;
outpic = inpic;
} else {
- outpic = ff_get_video_buffer(outlink, outlink->w, outlink->h);
- if (!outpic) {
- av_frame_free(&inpic);
- return AVERROR(ENOMEM);
- }
- av_frame_copy_props(outpic, inpic);
+ outpic = ff_get_video_buffer(outlink, outlink->w, outlink->h);
+ if (!outpic) {
+ av_frame_free(&inpic);
+ return AVERROR(ENOMEM);
+ }
+ av_frame_copy_props(outpic, inpic);
}
if (!hue->flat_syntax) {
@@ -328,9 +328,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
hue->var_values[VAR_N] += 1;
if (!direct)
- av_image_copy_plane(outpic->data[0], outpic->linesize[0],
- inpic->data[0], inpic->linesize[0],
- inlink->w, inlink->h);
+ av_image_copy_plane(outpic->data[0], outpic->linesize[0],
+ inpic->data[0], inpic->linesize[0],
+ inlink->w, inlink->h);
process_chrominance(outpic->data[1], outpic->data[2], outpic->linesize[1],
inpic->data[1], inpic->data[2], inpic->linesize[1],
@@ -338,7 +338,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
hue->hue_cos, hue->hue_sin);
if (!direct)
- av_frame_free(&inpic);
+ av_frame_free(&inpic);
return ff_filter_frame(outlink, outpic);
}