Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marc-André Lureau
gst-plugins-good
Commits
b5c8c770
Commit
b5c8c770
authored
Apr 15, 2011
by
Robert Swain
Committed by
Tim-Philipp Müller
Apr 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
y4mencode: shapewipe: Address unused but set variables
GCC 4.6.x complains about such usage.
parent
4893678f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
gst/shapewipe/gstshapewipe.c
gst/shapewipe/gstshapewipe.c
+1
-2
gst/y4m/gsty4mencode.c
gst/y4m/gsty4mencode.c
+2
-2
No files found.
gst/shapewipe/gstshapewipe.c
View file @
b5c8c770
...
...
@@ -824,7 +824,7 @@ gst_shape_wipe_blend_##name##_##depth (GstShapeWipe * self, GstBuffer * inbuf, \
gfloat position = self->mask_position; \
gfloat low = position - (self->mask_border / 2.0f); \
gfloat high = position + (self->mask_border / 2.0f); \
guint32 low_i, high_i,
position_i,
round_i; \
guint32 low_i, high_i, round_i; \
gint width = self->width, height = self->height; \
\
if (low < 0.0f) { \
...
...
@@ -837,7 +837,6 @@ gst_shape_wipe_blend_##name##_##depth (GstShapeWipe * self, GstBuffer * inbuf, \
high = 1.0f; \
} \
\
position_i = position * 65536; \
low_i = low * 65536; \
high_i = high * 65536; \
round_i = (high_i - low_i) >> 1; \
...
...
gst/y4m/gsty4mencode.c
View file @
b5c8c770
...
...
@@ -306,7 +306,7 @@ static void
gst_y4m_encode_set_property
(
GObject
*
object
,
guint
prop_id
,
const
GValue
*
value
,
GParamSpec
*
pspec
)
{
GstY4mEncode
*
filter
;
GstY4mEncode
G_GNUC_UNUSED
*
filter
;
g_return_if_fail
(
GST_IS_Y4M_ENCODE
(
object
));
filter
=
GST_Y4M_ENCODE
(
object
);
...
...
@@ -321,7 +321,7 @@ static void
gst_y4m_encode_get_property
(
GObject
*
object
,
guint
prop_id
,
GValue
*
value
,
GParamSpec
*
pspec
)
{
GstY4mEncode
*
filter
;
GstY4mEncode
G_GNUC_UNUSED
*
filter
;
g_return_if_fail
(
GST_IS_Y4M_ENCODE
(
object
));
filter
=
GST_Y4M_ENCODE
(
object
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment