[FFmpeg-devel] Do not probe when the format is known

Benoit Fouet benoit.fouet
Tue Apr 13 09:26:00 CEST 2010


On Mon, 12 Apr 2010 21:17:09 +0200 Michael Niedermayer wrote:
> On Mon, Apr 12, 2010 at 12:46:53PM +0200, Jean-Daniel Dupas wrote:
> > In av_open_input_file(), do not try to probe the input format if it is already defined.
> > It would have the side effect of calling rewind on the freshly created buffer and invalidate it (as rewind does not properly handle new context, but that's an other story). 
> > 
> 
> >  utils.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > c968061243d793a3be90e65fd11a01a9df3fc395  noprobe.patch
> 
> looks ok if it works
> 
> [...]

Applied

Ben



More information about the ffmpeg-devel mailing list