mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
videoflip: fix unused-but-set-variable warnings with gcc 4.6
This commit is contained in:
parent
6f480ad0ed
commit
d1d3e3ea02
1 changed files with 0 additions and 4 deletions
|
@ -588,8 +588,6 @@ gst_video_flip_y422 (GstVideoFlip * videoflip, guint8 * dest,
|
|||
gint u_offset;
|
||||
gint v_offset;
|
||||
gint y_stride;
|
||||
gint u_stride;
|
||||
gint v_stride;
|
||||
|
||||
src_stride = gst_video_format_get_row_stride (format, 0, sw);
|
||||
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);
|
||||
v_offset = gst_video_format_get_component_offset (format, 2, sw, sh);
|
||||
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;
|
||||
|
||||
switch (videoflip->method) {
|
||||
|
|
Loading…
Reference in a new issue