Lines Matching defs:boundary
33 char *boundary;
109 av_freep(&mpjpeg->boundary);
133 char boundary[70 + 2 + 1] = {0};
138 ret = get_line(s->pb, boundary, sizeof(boundary));
141 } while (!boundary[0]);
143 if (strncmp(boundary, "--", 2))
200 "Expected boundary '%s' not found, instead found a line of %"SIZE_SPECIFIER" bytes\n",
270 if (av_stristart(start, "boundary=", &start)) {
277 /* some endpoints may enclose the boundary
299 if (mpjpeg->boundary == NULL) {
300 uint8_t* boundary = NULL;
302 boundary = mpjpeg_get_boundary(s->pb);
304 if (boundary != NULL) {
305 mpjpeg->boundary = av_asprintf("--%s", boundary);
306 mpjpeg->searchstr = av_asprintf("\r\n--%s\r\n", boundary);
307 av_freep(&boundary);
309 mpjpeg->boundary = av_strdup("--");
312 if (!mpjpeg->boundary || !mpjpeg->searchstr) {
313 av_freep(&mpjpeg->boundary);
320 ret = parse_multipart_header(s->pb, &size, mpjpeg->boundary, s);
330 /* no size was given -- we read until the next boundary or end-of-file */
346 // got the boundary! rewind the stream