On 5/22/2014 11:02 AM, nu774 wrote:
> +    if (ref->type == MKTAG('u','r','l',' ') && strlen(ref->path) > 0) {
> +        if (ref->path[0] != '/' && strncmp(ref->path, "file:///", 8)) {
> +            char filename[1024];
> +            ff_make_absolute_url(filename, sizeof(filename), src, ref->path);
> +            if (!avio_open2(pb, filename, AVIO_FLAG_READ, int_cb, NULL))
> +                return 0;
> +        }

Isn't this kind of dangerous to just follow?

- Derel
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to