]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_interlace.c
Merge commit '42cc6cefd315c1556e2a52f7ebe2f766ec82b790'
[ffmpeg] / libavfilter / vf_interlace.c
index 39f60beaca1beffbf7e1c6691ff8ac39251f4086..7cf2e1fc87438ebedbe2196d8783d7ec88996000 100644 (file)
@@ -149,7 +149,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;
                 }