Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
3b67191b
Commit
3b67191b
authored
Jun 20, 2014
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fix compilation with MSVC."
This reverts commit
626ab4d0
.
parent
626ab4d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/belle-sip/belle-sdp.h
include/belle-sip/belle-sdp.h
+2
-2
src/belle_sdp_impl.c
src/belle_sdp_impl.c
+3
-3
No files found.
include/belle-sip/belle-sdp.h
View file @
3b67191b
...
...
@@ -69,8 +69,8 @@ typedef struct _belle_sdp_rtcp_fb_attribute belle_sdp_rtcp_fb_attribute_t;
BELLESIP_EXPORT
belle_sdp_rtcp_fb_attribute_t
*
belle_sdp_rtcp_fb_attribute_new
();
BELLESIP_EXPORT
belle_sdp_rtcp_fb_attribute_t
*
belle_sdp_rtcp_fb_attribute_parse
(
const
char
*
attribute
);
BELLESIP_EXPORT
belle_sdp_rtcp_fb_attribute_t
*
belle_sdp_rtcp_fb_attribute_create
();
BELLESIP_EXPORT
int
belle_sdp_rtcp_fb_attribute_get_id
(
const
belle_sdp_rtcp_fb_attribute_t
*
attribute
);
BELLESIP_EXPORT
void
belle_sdp_rtcp_fb_attribute_set_id
(
belle_sdp_rtcp_fb_attribute_t
*
attribute
,
int
id
);
BELLESIP_EXPORT
int
8_t
belle_sdp_rtcp_fb_attribute_get_id
(
const
belle_sdp_rtcp_fb_attribute_t
*
attribute
);
BELLESIP_EXPORT
void
belle_sdp_rtcp_fb_attribute_set_id
(
belle_sdp_rtcp_fb_attribute_t
*
attribute
,
int
8_t
id
);
BELLESIP_EXPORT
belle_sdp_rtcp_fb_val_type_t
belle_sdp_rtcp_fb_attribute_get_type
(
const
belle_sdp_rtcp_fb_attribute_t
*
attribute
);
BELLESIP_EXPORT
void
belle_sdp_rtcp_fb_attribute_set_type
(
belle_sdp_rtcp_fb_attribute_t
*
attribute
,
belle_sdp_rtcp_fb_val_type_t
type
);
BELLESIP_EXPORT
belle_sdp_rtcp_fb_val_param_t
belle_sdp_rtcp_fb_attribute_get_param
(
const
belle_sdp_rtcp_fb_attribute_t
*
attribute
);
...
...
src/belle_sdp_impl.c
View file @
3b67191b
...
...
@@ -168,7 +168,7 @@ struct _belle_sdp_rtcp_fb_attribute {
belle_sdp_rtcp_fb_val_type_t
type
;
belle_sdp_rtcp_fb_val_param_t
param
;
uint16_t
trr_int
;
int
id
;
int
8_t
id
;
};
BELLESIP_EXPORT
unsigned
int
belle_sdp_rtcp_fb_attribute_has_pli
(
const
belle_sdp_rtcp_fb_attribute_t
*
attribute
);
BELLESIP_EXPORT
void
belle_sdp_rtcp_fb_attribute_set_pli
(
belle_sdp_rtcp_fb_attribute_t
*
attribute
,
unsigned
int
enable
);
...
...
@@ -187,7 +187,7 @@ void belle_sdp_rtcp_fb_attribute_clone(belle_sdp_rtcp_fb_attribute_t* attribute,
attribute
->
id
=
orig
->
id
;
}
belle_sip_error_code
belle_sdp_rtcp_fb_attribute_marshal
(
belle_sdp_rtcp_fb_attribute_t
*
attribute
,
char
*
buff
,
size_t
buff_size
,
size_t
*
offset
)
{
int
id
=
belle_sdp_rtcp_fb_attribute_get_id
(
attribute
);
int
8_t
id
=
belle_sdp_rtcp_fb_attribute_get_id
(
attribute
);
belle_sdp_rtcp_fb_val_type_t
type
=
belle_sdp_rtcp_fb_attribute_get_type
(
attribute
);
belle_sdp_rtcp_fb_val_param_t
param
=
belle_sdp_rtcp_fb_attribute_get_param
(
attribute
);
belle_sip_error_code
error
=
belle_sdp_attribute_marshal
(
BELLE_SDP_ATTRIBUTE
(
attribute
),
buff
,
buff_size
,
offset
);
...
...
@@ -250,7 +250,7 @@ static void belle_sdp_rtcp_fb_attribute_init(belle_sdp_rtcp_fb_attribute_t* attr
}
BELLE_SDP_NEW_WITH_CTR
(
rtcp_fb_attribute
,
belle_sdp_attribute
)
BELLE_SDP_PARSE
(
rtcp_fb_attribute
)
GET_SET_INT
(
belle_sdp_rtcp_fb_attribute
,
id
,
int
)
GET_SET_INT
(
belle_sdp_rtcp_fb_attribute
,
id
,
int
8_t
)
GET_SET_INT
(
belle_sdp_rtcp_fb_attribute
,
type
,
belle_sdp_rtcp_fb_val_type_t
)
GET_SET_INT
(
belle_sdp_rtcp_fb_attribute
,
param
,
belle_sdp_rtcp_fb_val_param_t
)
GET_SET_INT
(
belle_sdp_rtcp_fb_attribute
,
trr_int
,
uint16_t
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment