video: Fix stupid copy&paste error in last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 15 Oct 2010 09:26:50 +0000 (11:26 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 15 Oct 2010 09:26:50 +0000 (11:26 +0200)
gst-libs/gst/video/video.c

index 8af88a7..ffcb22d 100644 (file)
@@ -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) {