Searched refs:cur_frame_size (Results 1 – 1 of 1) sorted by relevance
41 int cur_frame_size; in ff_rtp_send_h261() local83 cur_frame_size = FFMIN(rtp_ctx->max_payload_size - RTP_H261_HEADER_SIZE, frame_size); in ff_rtp_send_h261()86 if (cur_frame_size < frame_size) { in ff_rtp_send_h261()88 frame_buf + cur_frame_size); in ff_rtp_send_h261()89 cur_frame_size = packet_end - frame_buf; in ff_rtp_send_h261()93 last_packet_of_frame = cur_frame_size == frame_size; in ff_rtp_send_h261()96 memcpy(&rtp_ctx->buf[RTP_H261_HEADER_SIZE], frame_buf, cur_frame_size); in ff_rtp_send_h261()97 … ff_rtp_send_data(ctx, rtp_ctx->buf, RTP_H261_HEADER_SIZE + cur_frame_size, last_packet_of_frame); in ff_rtp_send_h261()99 frame_buf += cur_frame_size; in ff_rtp_send_h261()100 frame_size -= cur_frame_size; in ff_rtp_send_h261()