Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Drtpdec_dv.c91 static int dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, in dv_handle_packet() argument
99 if (rtp_dv_ctx->buf && rtp_dv_ctx->timestamp != *timestamp) { in dv_handle_packet()
100 ffio_free_dyn_buf(&rtp_dv_ctx->buf); in dv_handle_packet()
110 if (!rtp_dv_ctx->buf) { in dv_handle_packet()
111 res = avio_open_dyn_buf(&rtp_dv_ctx->buf); in dv_handle_packet()
115 rtp_dv_ctx->timestamp = *timestamp; in dv_handle_packet()
119 avio_write(rtp_dv_ctx->buf, buf, len); in dv_handle_packet()
127 res = ff_rtp_finalize_packet(pkt, &rtp_dv_ctx->buf, st->index); in dv_handle_packet()