rtspreal: use GLib's base64 functions if available

Since gst_rtsp_base64_decode_ip() just got deprecated in -base git.
This commit is contained in:
Tim-Philipp Müller 2010-04-30 19:53:15 +01:00
parent ba089d504b
commit d7dc396878

View file

@ -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); \