Browse Source

MT#58441 Declare attrs in `sdp_attribute` separately

Because the attribute parts variables are declared in
one signle row, these (popping up) commentaries in other
code parts, show only the first code comment for all of the
variables, which makes the code reading confusing.

In order to fix that, declare each one separately, that
gives own code (popping up) commentary per variable.

Change-Id: Iddb94b989844b997055be70a526cca59ab2fddf3
pull/1747/head
Donat Zenichev 2 years ago
parent
commit
5e62bc5ee2
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      daemon/sdp.c

+ 9
- 7
daemon/sdp.c View File

@ -211,13 +211,15 @@ struct attribute_t38faxudpecdepth {
int maxred; int maxred;
}; };
struct sdp_attribute { /* example: a=rtpmap:8 PCMA/8000 */
str full_line, /* including a= and \r\n */
line_value, /* without a= and without \r\n */
name, /* just "rtpmap" */
value, /* just "8 PCMA/8000" */
key, /* "rtpmap:8" */
param; /* "PCMA/8000" */
struct sdp_attribute {
/* example: a=rtpmap:8 PCMA/8000 */
str full_line; /* including a= and \r\n */
str line_value; /* without a= and without \r\n */
str name; /* just "rtpmap" */
str value; /* just "8 PCMA/8000" */
str key; /* "rtpmap:8" */
str param; /* "PCMA/8000" */
enum { enum {
ATTR_OTHER = 0, ATTR_OTHER = 0,


Loading…
Cancel
Save