diff -ur gst-plugins-bad-0.10.3.orig/ext/neon/gstneonhttpsrc.c gst-plugins-bad-0.10.3/ext/neon/gstneonhttpsrc.c --- gst-plugins-bad-0.10.3.orig/ext/neon/gstneonhttpsrc.c 2006-07-19 22:56:03.000000000 +0300 +++ gst-plugins-bad-0.10.3/ext/neon/gstneonhttpsrc.c 2006-07-19 22:57:22.000000000 +0300 @@ -20,6 +20,10 @@ #include #include +#ifndef NE_FREE +#define NEON_026_OR_LATER 1 +#endif + #define HTTP_DEFAULT_HOST "localhost" #define HTTP_DEFAULT_PORT 80 #define HTTPS_DEFAULT_PORT 443 @@ -626,10 +630,13 @@ if (parsed->host && !parsed->port) { goto clear; } - - if (!parsed->path || parsed->authinfo) { +#ifdef NEON_026_OR_LATER + if (!parsed->path || parsed->userinfo) goto clear; - } +#else + if (!parsed->path || parsed->authinfo) + goto clear; +#endif return TRUE;