videoflip: fix unused-but-set-variable warnings with gcc 4.6

This commit is contained in:
Tim-Philipp Müller 2011-04-11 19:49:22 +01:00
parent 6f480ad0ed
commit d1d3e3ea02

View file

@ -588,8 +588,6 @@ gst_video_flip_y422 (GstVideoFlip * videoflip, guint8 * dest,
gint u_offset; gint u_offset;
gint v_offset; gint v_offset;
gint y_stride; gint y_stride;
gint u_stride;
gint v_stride;
src_stride = gst_video_format_get_row_stride (format, 0, sw); src_stride = gst_video_format_get_row_stride (format, 0, sw);
dest_stride = gst_video_format_get_row_stride (format, 0, dw); dest_stride = gst_video_format_get_row_stride (format, 0, dw);
@ -598,8 +596,6 @@ gst_video_flip_y422 (GstVideoFlip * videoflip, guint8 * dest,
u_offset = gst_video_format_get_component_offset (format, 1, sw, sh); u_offset = gst_video_format_get_component_offset (format, 1, sw, sh);
v_offset = gst_video_format_get_component_offset (format, 2, sw, sh); v_offset = gst_video_format_get_component_offset (format, 2, sw, sh);
y_stride = gst_video_format_get_pixel_stride (format, 0); y_stride = gst_video_format_get_pixel_stride (format, 0);
u_stride = gst_video_format_get_pixel_stride (format, 1);
v_stride = gst_video_format_get_pixel_stride (format, 2);
bpp = y_stride; bpp = y_stride;
switch (videoflip->method) { switch (videoflip->method) {