[FFmpeg-devel] [PATCH 19/28] changed: check some more url_fseeks in asf demuxer to avoid problems if file systemis unseekable

Joakim Plate elupus
Thu Jul 1 14:21:33 CEST 2010


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +    if(url_fseek(s->pb, asf->data_object_offset + asf->data_object_size, 
SEEK_SET) < 0) {
> > +      asf->index_read= -1;
> > +      return;
> > +    }
> 
> setting index_read looks broken
> 
> [...]
> 

The change to index_read is in the wrong patch. It belongs in the the asf hacks 
patch. The point is to indicate that we have attempted to read index and failed, 
so we don't try it again.

/Joakim




More information about the ffmpeg-devel mailing list