From b3192de682029b2cdab05b337511e8050bb80572 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 15 Oct 2010 11:26:50 +0200 Subject: [PATCH] video: Fix stupid copy&paste error in last commit --- gst-libs/gst/video/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 8af88a7..ffcb22d 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -1660,7 +1660,7 @@ gst_video_format_get_component_offset (GstVideoFormat format, return 0; case GST_VIDEO_FORMAT_A420: if (component == 0) - return GST_ROUND_UP_4 (width) * GST_ROUND_UP_2 (height); + return 0; if (component == 1) return GST_ROUND_UP_4 (width) * GST_ROUND_UP_2 (height); if (component == 2) { -- 2.7.4