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:
bbe26ef
)
avfilter/vsrc_testsrc: fix artifacts with odd height
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Jun 2013 21:21:17 +0000
(23:21 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Jun 2013 21:21:17 +0000
(23:21 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vsrc_testsrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/vsrc_testsrc.c
b/libavfilter/vsrc_testsrc.c
index
6e0e19b
..
be3266a
100644
(file)
--- a/
libavfilter/vsrc_testsrc.c
+++ b/
libavfilter/vsrc_testsrc.c
@@
-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;