[FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

Kieran Kunhya kierank at obe.tv
Fri Aug 7 22:01:16 EEST 2020


>
> > @@ -4169,6 +4189,11 @@ static int mov_open_dref(MOVContext *c,
> AVIOContext **pb, const char *src, MOVDr
> >             if (!c->fc->io_open(c->fc, pb, filename, AVIO_FLAG_READ,
> NULL))
> >                 return 0;
> >         }
> > +    } else if (ref->location) {
> > +        av_log(c->fc, AV_LOG_WARNING, "Try to open the media file in
> separate file from %s.\n",
> > +            ref->location);
> > +        if (!c->fc->io_open(c->fc, pb, ref->location, AVIO_FLAG_READ,
> NULL))
> > +            return 0;
>

Is it safe to just open files like this?

Kieran


More information about the ffmpeg-devel mailing list