Browse Source

avfilter/vsrc_testsrc: fix artifacts with odd height

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
8a7aabe80b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsrc_testsrc.c

+ 1
- 1
libavfilter/vsrc_testsrc.c View File

@@ -575,7 +575,7 @@ static void test_fill_picture(AVFilterContext *ctx, AVFrame *frame)
}

/* draw sliding color line */
p0 = p = data + frame->linesize[0] * height * 3/4;
p0 = p = data + frame->linesize[0] * (height * 3/4);
grad = (256 * test->nb_frame * test->time_base.num / test->time_base.den) %
GRADIENT_SIZE;
rgrad = 0;


Loading…
Cancel
Save