Lines Matching refs:pktbuf
154 AVIOContext *pktbuf, pb;
207 if (asf->pktbuf && len_off != avio_tell(asf->pktbuf)) {
209 avio_close_dyn_buf(asf->pktbuf, &p);
210 asf->pktbuf = NULL;
213 if (!len_off && !asf->pktbuf &&
214 (res = avio_open_dyn_buf(&asf->pktbuf)) < 0)
216 if (!asf->pktbuf)
219 avio_write(asf->pktbuf, buf + off, len - off);
223 out_len = avio_close_dyn_buf(asf->pktbuf, &asf->buf);
224 asf->pktbuf = NULL;
282 if (asf->pktbuf) {
284 avio_close_dyn_buf(asf->pktbuf, &p);
285 asf->pktbuf = NULL;