diff --git a/ffplay.c b/ffplay.c
index ad98f0a22ce5a3fa449a6445e6e5d405d47fd8f6..946f4cd614f983ebe7aaa307f7c9c4bc54a65208 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -498,8 +498,8 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw,
             p++;
             lum++;
         }
-        p += wrap3 + (wrap3 - dstw * BPP);
-        lum += wrap + (wrap - dstw - dstx);
+        p += wrap3 - dstw * BPP;
+        lum += wrap - dstw - dstx;
         cb += dst->linesize[1] - width2 - skip2;
         cr += dst->linesize[2] - width2 - skip2;
     }