mapping for a mini-frame instead of a video-frame, which caused it to
get invalid data.
(issue #8795, mihai)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52762
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
f.data = NULL;
#ifdef IAXTESTS
if (test_resync) {
- fr->ts = (iaxs[fr->callno]->last & 0xFFFF8000L) | ((ntohs(mh->ts) + test_resync) & 0x7fff);
+ fr->ts = (iaxs[fr->callno]->last & 0xFFFF8000L) | ((ntohs(vh->ts) + test_resync) & 0x7fff);
} else
#endif /* IAXTESTS */
- fr->ts = (iaxs[fr->callno]->last & 0xFFFF8000L) | (ntohs(mh->ts) & 0x7fff);
+ fr->ts = (iaxs[fr->callno]->last & 0xFFFF8000L) | (ntohs(vh->ts) & 0x7fff);
} else {
/* A mini frame */
f.frametype = AST_FRAME_VOICE;