mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-15 03:07:40 +00:00
Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -220,7 +220,7 @@ static int disa_exec(struct ast_channel *chan, const char *data)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if ((f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_HANGUP)) {
|
||||
if ((f->frametype == AST_FRAME_CONTROL) && (f->subclass.integer == AST_CONTROL_HANGUP)) {
|
||||
if (f->data.uint32)
|
||||
chan->hangupcause = f->data.uint32;
|
||||
ast_frfree(f);
|
||||
@@ -234,7 +234,7 @@ static int disa_exec(struct ast_channel *chan, const char *data)
|
||||
continue;
|
||||
}
|
||||
|
||||
j = f->subclass; /* save digit */
|
||||
j = f->subclass.integer; /* save digit */
|
||||
ast_frfree(f);
|
||||
|
||||
if (!i) {
|
||||
|
||||
Reference in New Issue
Block a user