[FFmpeg-cvslog] r12241 - trunk/libavformat/mov.c

Reimar Döffinger Reimar.Doeffinger
Tue Feb 26 19:40:58 CET 2008


> @@ -1451,6 +1529,13 @@ static int mov_read_header(AVFormatConte
>          sc->ffindex = i;
>          mov_build_index(mov, st);
>  
> +        if (sc->dref_id-1 < sc->drefs_count && sc->drefs[sc->dref_id-1].path) {
> +            if (url_fopen(&sc->pb, sc->drefs[sc->dref_id-1].path, URL_RDONLY) < 0)
> +                av_log(s, AV_LOG_ERROR, "stream %d, error opening external essence: %s\n",
> +                       st->index, strerror(errno));
> +        } else
> +            sc->pb = s->pb;

This must be a joke. Or do you seriously consider it acceptable for a
demuxer to do url_fopen?!




More information about the ffmpeg-cvslog mailing list