Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c7c5e9e authored by Stefan Ringel's avatar Stefan Ringel Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: tm6000: bugfix image position



bugfix incorrect image and line position in videobuffer

Signed-off-by: default avatarStefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 083e4721
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ static int copy_packet(struct urb *urb, u32 header, u8 **ptr, u8 *endp,
			 * It should, instead, check if the user selected
			 * entrelaced or non-entrelaced mode
			 */
			pos= ((line<<1)+field)*linewidth +
			pos = ((line << 1) - field - 1) * linewidth +
				block * TM6000_URB_MSG_LEN;

			/* Don't allow to write out of the buffer */