Home
last modified time | relevance | path

Searched refs:rtp_h261_ctx (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Drtpdec_h261.c46 static int h261_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_h261_ctx, in h261_handle_packet() argument
55 if (rtp_h261_ctx->buf && rtp_h261_ctx->timestamp != *timestamp) { in h261_handle_packet()
56 ffio_free_dyn_buf(&rtp_h261_ctx->buf); in h261_handle_packet()
57 rtp_h261_ctx->endbyte_bits = 0; in h261_handle_packet()
97 if (!rtp_h261_ctx->buf) { in h261_handle_packet()
100 res = avio_open_dyn_buf(&rtp_h261_ctx->buf); in h261_handle_packet()
104 rtp_h261_ctx->timestamp = *timestamp; in h261_handle_packet()
112 if (rtp_h261_ctx->endbyte_bits || sbit) { in h261_handle_packet()
113 if (rtp_h261_ctx->endbyte_bits == sbit) { in h261_handle_packet()
114 rtp_h261_ctx->endbyte |= buf[0] & (0xff >> sbit); in h261_handle_packet()
[all …]