diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-30 19:53:15 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-30 19:53:15 +0100 |
commit | d7dc3968788d8adc6a9294e10def0e5fcbfe288a (patch) | |
tree | 61b08e4d002cb80bfa30f15857a87caa2888dbba /gst/realmedia | |
parent | ba089d504bff729760982bd59f3a8d10a8aa39be (diff) |
rtspreal: use GLib's base64 functions if available
Since gst_rtsp_base64_decode_ip() just got deprecated in -base git.
Diffstat (limited to 'gst/realmedia')
-rw-r--r-- | gst/realmedia/rtspreal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/realmedia/rtspreal.c b/gst/realmedia/rtspreal.c index 4dfcc388..c3cfb47a 100644 --- a/gst/realmedia/rtspreal.c +++ b/gst/realmedia/rtspreal.c @@ -205,6 +205,11 @@ G_STMT_START { \ } \ } G_STMT_END +/* FIXME: remove once we depend on GLib >= 2.20 */ +#if GLIB_CHECK_VERSION (2, 20, 0) +#define gst_rtsp_base64_decode_ip g_base64_decode_inplace +#endif + #define READ_BUFFER_GEN(src, func, name, dest, dest_len) \ G_STMT_START { \ dest = (gchar *)func (src, name); \ |