From: Sebastian Dröge Date: Fri, 15 Oct 2010 09:26:50 +0000 (+0200) Subject: video: Fix stupid copy&paste error in last commit X-Git-Tag: 1.19.3~511^2~7921 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3192de682029b2cdab05b337511e8050bb80572;p=platform%2Fupstream%2Fgstreamer.git video: Fix stupid copy&paste error in last commit --- 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) {