Skip to content
Snippets Groups Projects
Commit 3a84f2a6 authored by Steve Murphy's avatar Steve Murphy
Browse files

This little mod gets rid of that g722 compiler warning that breaks builds...

This little mod gets rid of that g722 compiler warning that breaks builds configured with --enable-dev-mode; the previous commit of 48767 was to merge in changes for bug 6334, unifying the open mode arguments for saner operation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent fbe6afd1
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ static int lintog722_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
struct g722_encoder_pvt *tmp = pvt->pvt;
int16_t *src = f->data;
g722_encode(&tmp->g722, &pvt->outbuf[pvt->datalen], src, f->samples);
g722_encode(&tmp->g722, (uint8_t*)(&pvt->outbuf[pvt->datalen]), src, f->samples);
/* Since G.722 64kbps per second is one bye per sample, all of these
calculations are easy */
pvt->samples += f->samples;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment