Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call.cpp
- Revision:
- 121:ee02790d00b7
- Parent:
- 119:ee6a53069455
- Child:
- 132:05cd37f7e007
diff -r 770f00554b1e -r ee02790d00b7 call.cpp --- a/call.cpp Mon May 04 17:25:29 2015 +0000 +++ b/call.cpp Fri May 08 04:15:23 2015 +0000 @@ -40,8 +40,8 @@ rtpbuf_next( &rtpbuf ); if( *length > 0 ){ - rtpbuf_put( &rtpbuf, *length - ( __RTP_HEADER_SIZE__ + ( server2cb[ 0 ] & 0xf ) ), - ( uint8_t * )server2cb + ( __RTP_HEADER_OFFSET__ + ( server2cb[ 0 ] & 0xf ) ) ); + rtpbuf_put( &rtpbuf, *length - ( RTP_HEADER_SIZE + ( server2cb[ 0 ] & 0xf ) ), + ( uint8_t * )server2cb + ( RTP_HEADER_OFFSET + ( server2cb[ 0 ] & 0xf ) ) ); } pkg = rtpbuf_get( &rtpbuf );