Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'orc/orcopcodes.c')
-rw-r--r--orc/orcopcodes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/orc/orcopcodes.c b/orc/orcopcodes.c
index a777989..2e7d30e 100644
--- a/orc/orcopcodes.c
+++ b/orc/orcopcodes.c
@@ -61,6 +61,8 @@ orc_target_get_by_name (const char *name)
{
int i;
+ if (name == NULL) return default_target;
+
for(i=0;i<n_targets;i++){
if (strcmp (name, targets[i]->name) == 0) {
return targets[i];