aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-06-17 11:54:26 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-06-17 12:25:43 +0200
commitcd0faeee62ffe96f294ad3baf1b55343be63a2a7 (patch)
tree9204f7a6d577f9a83e95dcabcbdafc4ff41de348
parentee16a0ced01e6a33b7b01a0b21a0e07c1e1c7884 (diff)
downloadffmpeg-cd0faeee62ffe96f294ad3baf1b55343be63a2a7.tar.gz
lavfi: math typo in interlace filter
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rwxr-xr-xlibavfilter/vf_interlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c
index d3c3d4da31..ff54896be0 100755
--- a/libavfilter/vf_interlace.c
+++ b/libavfilter/vf_interlace.c
@@ -150,7 +150,7 @@ static void copy_picture_field(AVFrame *src_frame, AVFrame *dst_frame,
srcp_below = srcp; // there is no line below
for (i = 0; i < linesize; i++) {
// this calculation is an integer representation of
- // '0.5 * current + 0.25 * above + 0.25 + below'
+ // '0.5 * current + 0.25 * above + 0.25 * below'
// '1 +' is for rounding.
dstp[i] = (1 + srcp[i] + srcp[i] + srcp_above[i] + srcp_below[i]) >> 2;
}