Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
fc1fab8a
Commit
fc1fab8a
authored
Jan 24, 2012
by
Vincent Penquerc'h
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gstvalue: handle NULL dest in bitmask/bitmask intersection
parent
982ff80c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gst/gstvalue.c
gst/gstvalue.c
+4
-2
No files found.
gst/gstvalue.c
View file @
fc1fab8a
...
...
@@ -5307,8 +5307,10 @@ gst_value_intersect_bitmask_bitmask (GValue * dest, const GValue * src1,
s1
=
gst_value_get_bitmask
(
src1
);
s2
=
gst_value_get_bitmask
(
src2
);
g_value_init
(
dest
,
GST_TYPE_BITMASK
);
gst_value_set_bitmask
(
dest
,
s1
&
s2
);
if
(
dest
)
{
g_value_init
(
dest
,
GST_TYPE_BITMASK
);
gst_value_set_bitmask
(
dest
,
s1
&
s2
);
}
return
TRUE
;
}
...
...
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