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

Michael Niedermayer michaelni
Mon Apr 12 21:17:09 CEST 2010

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100412/6c2c5b13/attachment.pgp>

More information about the ffmpeg-devel mailing list