sdp: hide key length defines

They don't have a namespace.
This commit is contained in:
Wim Taymans 2014-06-24 09:34:50 +02:00
parent bf9a3efb59
commit d676c56888
3 changed files with 12 additions and 6 deletions

View file

@ -1500,6 +1500,12 @@ make_server_transport (GstRTSPClient * client, GstRTSPContext * ctx,
return st;
}
#define AES_128_KEY_LEN 16
#define AES_256_KEY_LEN 32
#define HMAC_32_KEY_LEN 4
#define HMAC_80_KEY_LEN 10
static gboolean
mikey_apply_policy (GstCaps * caps, GstMIKEYMessage * msg, guint8 policy)
{

View file

@ -30,6 +30,12 @@
#include "rtsp-sdp.h"
#define AES_128_KEY_LEN 16
#define AES_256_KEY_LEN 32
#define HMAC_32_KEY_LEN 4
#define HMAC_80_KEY_LEN 10
static gboolean
get_info_from_tags (GstPad * pad, GstEvent ** event, gpointer user_data)
{

View file

@ -27,12 +27,6 @@
G_BEGIN_DECLS
#define AES_128_KEY_LEN 16
#define AES_256_KEY_LEN 32
#define HMAC_32_KEY_LEN 4
#define HMAC_80_KEY_LEN 10
typedef struct {
gboolean is_ipv6;
const gchar *server_ip;