Reindent after the last commit.
Originally committed as revision 20755 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bf972d5e1c
commit
3a1acfd79a
@ -79,11 +79,11 @@ static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
|
|||||||
int y2;
|
int y2;
|
||||||
|
|
||||||
if (slice_dir == 1) {
|
if (slice_dir == 1) {
|
||||||
for (y2 = y; y2 + slice->h <= y + h; y2 += slice->h)
|
for (y2 = y; y2 + slice->h <= y + h; y2 += slice->h)
|
||||||
avfilter_draw_slice(link->dst->outputs[0], y2, slice->h, slice_dir);
|
avfilter_draw_slice(link->dst->outputs[0], y2, slice->h, slice_dir);
|
||||||
|
|
||||||
if (y2 < y + h)
|
if (y2 < y + h)
|
||||||
avfilter_draw_slice(link->dst->outputs[0], y2, y + h - y2, slice_dir);
|
avfilter_draw_slice(link->dst->outputs[0], y2, y + h - y2, slice_dir);
|
||||||
} else if (slice_dir == -1) {
|
} else if (slice_dir == -1) {
|
||||||
for (y2 = y + h; y2 - slice->h >= y; y2 -= slice->h)
|
for (y2 = y + h; y2 - slice->h >= y; y2 -= slice->h)
|
||||||
avfilter_draw_slice(link->dst->outputs[0], y2 - slice->h, slice->h, slice_dir);
|
avfilter_draw_slice(link->dst->outputs[0], y2 - slice->h, slice->h, slice_dir);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user