Lines Matching full:path
646 av_freep(&dref->path);
713 if (type == 2) { // absolute path
714 av_free(dref->path);
715 dref->path = av_mallocz(len+1);
716 if (!dref->path)
719 ret = ffio_read_size(pb, dref->path, len);
721 av_freep(&dref->path);
724 if (len > volume_len && !strncmp(dref->path, dref->volume, volume_len)) {
726 memmove(dref->path, dref->path+volume_len, len);
727 dref->path[len] = 0;
731 if (dref->path[j] == 0)
737 if (dref->path[j] == ':' || dref->path[j] == 0)
738 dref->path[j] = '/';
739 av_log(c->fc, AV_LOG_DEBUG, "path %s\n", dref->path);
4536 /* try relative path, we do not try the absolute because it can leak information about our
4551 for (i = 0, l = strlen(ref->path) - 1; l >= 0; l--)
4552 if (ref->path[l] == '/') {
4567 av_strlcat(filename, ref->path + l + 1, sizeof(filename));
4575 ref->path);
4579 if (strstr(ref->path + l + 1, "..") ||
4580 strstr(ref->path + l + 1, ":") ||
4592 av_log(c->fc, AV_LOG_WARNING, "Using absolute path on user request, "
4594 if (!c->fc->io_open(c->fc, pb, ref->path, AVIO_FLAG_READ, NULL))
4598 "Absolute path %s not tried for security reasons, "
4600 ref->path);
4669 if (sc->dref_id-1 < sc->drefs_count && sc->drefs[sc->dref_id-1].path) {
4674 "stream %d, error opening alias: path='%s', dir='%s', "
4676 st->index, dref->path, dref->dir, dref->filename,
4681 "stream %d, alias: path='%s', dir='%s', "
4684 st->index, dref->path, dref->dir, dref->filename,
8483 av_freep(&sc->drefs[j].path);
9397 "allow using absolute path when opening alias, this is a possible security issue",