Lines Matching defs:sv
41 static int svq3_parse_packet (AVFormatContext *s, PayloadContext *sv,
84 if (sv->pktbuf) {
86 avio_close_dyn_buf(sv->pktbuf, &tmp);
89 if ((res = avio_open_dyn_buf(&sv->pktbuf)) < 0)
91 sv->timestamp = *timestamp;
94 if (!sv->pktbuf)
97 avio_write(sv->pktbuf, buf, len);
102 *timestamp = sv->timestamp;
103 pkt->size = avio_close_dyn_buf(sv->pktbuf, &pkt->data);
105 sv->pktbuf = NULL;
117 static void svq3_extradata_free(PayloadContext *sv)
119 if (sv->pktbuf) {
121 avio_close_dyn_buf(sv->pktbuf, &buf);
124 av_free(sv);