summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4lconvert
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-17 15:18:29 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-17 15:18:29 +0200
commit9919241faa605f4024a77e4e01c5cc4f6676bfe7 (patch)
tree39804d4e89ebfbce2878ff7a4e415d1adf2145c1 /v4l2-apps/libv4l/libv4lconvert
parent719bdce1fa2e052cbd9c4cc21362dd21b662f989 (diff)
downloadmediapointer-dvb-s2-9919241faa605f4024a77e4e01c5cc4f6676bfe7.tar.gz
mediapointer-dvb-s2-9919241faa605f4024a77e4e01c5cc4f6676bfe7.tar.bz2
libv4l: fix v4lconvert_uyvy_to_yuv420()
From: Hans de Goede <hdegoede@redhat.com> v4lconvert_uyvy_to_yuv420() had a bug causing the result to be all messed up, also see: http://bugzilla.gnome.org/show_bug.cgi?id=571772 Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert')
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/rgbyuv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c b/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c
index 3fbff8e85..31cbc3c68 100644
--- a/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c
+++ b/v4l2-apps/libv4l/libv4lconvert/rgbyuv.c
@@ -409,7 +409,6 @@ void v4lconvert_uyvy_to_yuv420(const unsigned char *src, unsigned char *dest,
}
/* copy the U and V values */
- src++; /* point to V */
src1 = src + width * 2; /* next line */
if (yvu) {
vdest = dest;