Lines Matching defs:sec
419 struct segment *sec;
425 sec = av_mallocz(sizeof(*sec));
426 if (!sec)
434 av_free(sec);
438 sec->url = av_strdup(ptr);
439 if (!sec->url) {
440 av_free(sec);
445 sec->size = strtoll(info->byterange, NULL, 10);
448 sec->url_offset = strtoll(ptr+1, NULL, 10);
451 sec->size = -1;
454 dynarray_add(&pls->init_sections, &pls->n_init_sections, sec);
456 return sec;