[xiph-commits] r3072 - liboggplay/trunk/plugin
tahn at svn.annodex.net
tahn at svn.annodex.net
Tue Jun 26 18:51:14 PDT 2007
Author: tahn
Date: 2007-06-26 18:51:14 -0700 (Tue, 26 Jun 2007)
New Revision: 3072
Modified:
liboggplay/trunk/plugin/plugin_oggplay.c
Log:
Don't try to dup a NULL proxy string.
Modified: liboggplay/trunk/plugin/plugin_oggplay.c
===================================================================
--- liboggplay/trunk/plugin/plugin_oggplay.c 2007-06-27 01:44:25 UTC (rev 3071)
+++ liboggplay/trunk/plugin/plugin_oggplay.c 2007-06-27 01:51:14 UTC (rev 3072)
@@ -267,7 +267,7 @@
pointers->player = NULL;
pointers->location = strdup(location);
- pointers->proxy = strdup(proxy);
+ pointers->proxy = (proxy != NULL) ? strdup(proxy) : NULL;
pointers->proxy_port = proxy_port;
pointers->last_displayed_frame_time = 0;
pointers->video_rate = 0;
More information about the commits
mailing list