[FFmpeg-cvslog] lavfi/kerndeint: fix temp buffer linesize.
Clément Bœsch
git at videolan.org
Sun Jan 6 19:01:58 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Jan 6 07:23:43 2013 +0100| [f6659e5c5e76f346fa556eab4be41533914c6ed4] | committer: Clément Bœsch
lavfi/kerndeint: fix temp buffer linesize.
Also re-enable the FATE test.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6659e5c5e76f346fa556eab4be41533914c6ed4
---
libavfilter/vf_kerndeint.c | 2 +-
tests/fate/avfilter.mak | 1 +
tests/ref/lavfi/kerndeint | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 26f2e49..e9598f9 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -163,7 +163,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpic)
srcp = srcp_saved = inpic->data[plane];
src_linesize = inpic->linesize[plane];
- psrc_linesize = outpic->linesize[plane];
+ psrc_linesize = kerndeint->tmp_bwidth[plane];
dstp = dstp_saved = outpic->data[plane];
dst_linesize = outpic->linesize[plane];
srcp = srcp_saved + (1 - order) * src_linesize;
diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
index e69d6a1..e1e7280 100644
--- a/tests/fate/avfilter.mak
+++ b/tests/fate/avfilter.mak
@@ -41,6 +41,7 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb \
FATE_LAVFI-$(CONFIG_GPL) += fate-lavfi-colormatrix1 \
fate-lavfi-colormatrix2 \
fate-lavfi-hue \
+ fate-lavfi-kerndeint \
fate-lavfi-pixfmts_super2xsai \
fate-lavfi-tinterlace_merge \
fate-lavfi-tinterlace_pad \
diff --git a/tests/ref/lavfi/kerndeint b/tests/ref/lavfi/kerndeint
index b03f977..2769319 100644
--- a/tests/ref/lavfi/kerndeint
+++ b/tests/ref/lavfi/kerndeint
@@ -6,5 +6,5 @@ bgr0 364b8bcd1c7a384902077bc7190c5ea3
bgra 81ac8315a4c66e363bc6fa3e99d9cd2b
rgb0 ae0c2afbc266345c1372276755595105
rgba 42a6cc9b815ca0ee69c29db3616ce25e
-yuv420p a935cce07c5287b92c6d5220361866ed
+yuv420p 40ca042814882b0b791cbec38e289702
yuyv422 f549c98059ba9ce50e28204256d13b5d
More information about the ffmpeg-cvslog
mailing list