[MPlayer-users] Is it
Debal Mridha
debal.mridha at gmail.com
Thu Mar 24 14:51:37 CET 2005
Hi Ross,
I have gone through the RTP header parser function----and a segment
of code for checking CSRC is given below from Live source code.
void MultiFramedRTPSource::networkReadHandler(MultiFramedRTPSource* source,
int /*mask*/) {
....................................
......................................
// Skip over any CSRC identifiers in the header:
unsigned cc = (rtpHdr>>24)&0xF;
if (bPacket->dataSize() < cc) break;
ADVANCE(cc*4);
....................................
...................................
}
I think the if check condition should be
if (bPacket->datasize() <(4*cc)) instead of if(bPacket->datasize() <cc).
Is it right?
Thanks
debal
More information about the MPlayer-users
mailing list