Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
5c8ed3bd
Commit
5c8ed3bd
authored
Feb 08, 2011
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioresample: minor simplification
... which avoids crashing in the off-chance that structure == NULL.
parent
d3d8d5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gst/audioresample/gstaudioresample.c
gst/audioresample/gstaudioresample.c
+1
-1
No files found.
gst/audioresample/gstaudioresample.c
View file @
5c8ed3bd
...
...
@@ -473,7 +473,7 @@ gst_audio_resample_parse_caps (GstCaps * incaps,
structure
=
gst_caps_get_structure
(
incaps
,
0
);
if
(
g
_str_equal
(
gst_structure_get_name
(
structure
)
,
"audio/x-raw-float"
))
if
(
g
st_structure_has_name
(
structure
,
"audio/x-raw-float"
))
myfp
=
TRUE
;
else
myfp
=
FALSE
;
...
...
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