Mercurial > audlegacy-plugins
diff src/mpg123/mpg123.h @ 223:12346b051297 trunk
[svn] - fix tuple breakage
author | nenolod |
---|---|
date | Sun, 05 Nov 2006 12:36:34 -0800 |
parents | 1e2d575fd2e7 |
children | dd5a28dc4254 |
line wrap: on
line diff
--- a/src/mpg123/mpg123.h Sun Nov 05 12:31:33 2006 -0800 +++ b/src/mpg123/mpg123.h Sun Nov 05 12:36:34 2006 -0800 @@ -91,7 +91,10 @@ int mpgdec_rtsp_open(char *url); int mpgdec_rtsp_read(gpointer data, gsize length); void mpgdec_rtsp_close (void); +#define CHECK_STREAM_URI(filename) (!g_strncasecmp(filename, "http://", 7) \ + || !g_strncasecmp(filename, "rtsp://", 7)) #else +#define CHECK_STREAM_URI(filename) (!g_strncasecmp(filename, "http://", 7)) #endif #define CHECK_STREAM(var_is_deprecated) (mpgdec_info->filesize == 0)