Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Drtpdec_mpa_robust.c32 uint8_t *split_buf; member
40 av_free(data->split_buf); in mpa_robust_close_context()
75 buf = &data->split_buf[data->split_pos]; in mpa_robust_parse_packet()
81 av_freep(&data->split_buf); in mpa_robust_parse_packet()
88 av_freep(&data->split_buf); in mpa_robust_parse_packet()
104 av_freep(&data->split_buf); in mpa_robust_parse_packet()
135 data->split_buf = av_malloc(data->split_buf_size); in mpa_robust_parse_packet()
137 if (!data->split_buf) { in mpa_robust_parse_packet()
142 memcpy(data->split_buf, buf, data->split_buf_size); in mpa_robust_parse_packet()
Drtpdec_xiph.c48 uint8_t *split_buf; member
56 av_freep(&data->split_buf); in xiph_close_context()
69 if (!data->split_buf || data->split_pos + 2 > data->split_buf_len || in xiph_handle_packet()
74 pkt_len = AV_RB16(data->split_buf + data->split_pos); in xiph_handle_packet()
85 memcpy(pkt->data, data->split_buf + data->split_pos, pkt_len); in xiph_handle_packet()
137 if (len > data->split_buf_size || !data->split_buf) { in xiph_handle_packet()
138 av_freep(&data->split_buf); in xiph_handle_packet()
140 data->split_buf = av_malloc(data->split_buf_size); in xiph_handle_packet()
141 if (!data->split_buf) { in xiph_handle_packet()
147 memcpy(data->split_buf, buf, len); in xiph_handle_packet()