summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-15 11:26:50 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-15 11:26:50 +0200
commitb3192de682029b2cdab05b337511e8050bb80572 (patch)
tree9c86e112028ae1736316c44a0d831304da225f2b
parentd8c1044fbdeee7024bebb7906bf00aae9a8df6e7 (diff)
video: Fix stupid copy&paste error in last commit
-rw-r--r--gst-libs/gst/video/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c
index 8af88a71a..ffcb22d15 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) {