mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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:
parent
ba089d504b
commit
d7dc396878
1 changed files with 5 additions and 0 deletions
|
@ -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); \
|
||||
|
|
Loading…
Reference in a new issue