28 int processed_frame_size;
29 int last_packet_of_frame;
36 while (frame_size > 0) {
37 tmp_buf_ptr = rtp_ctx->
buf;
47 last_packet_of_frame = (processed_frame_size ==
frame_size);
49 memcpy(tmp_buf_ptr, frame_buf, processed_frame_size);
50 tmp_buf_ptr += processed_frame_size;
54 frame_buf += processed_frame_size;
55 frame_size -= processed_frame_size;