# HG changeset patch # User benoit # Date 1271143550 0 # Node ID f80cd2cf07e49a047ba662b8718d82449963f55c # Parent fcdf61a4a6ce1487bcd9203772808f6e927e200a Do not probe when the format is known. Patch by Jean-Daniel Dupas devlists shadowlab org diff -r fcdf61a4a6ce -r f80cd2cf07e4 utils.c --- a/utils.c Tue Apr 13 01:19:59 2010 +0000 +++ b/utils.c Tue Apr 13 07:25:50 2010 +0000 @@ -559,7 +559,7 @@ if (buf_size > 0) { url_setbufsize(pb, buf_size); } - if ((err = ff_probe_input_buffer(&pb, &fmt, filename, logctx, 0, logctx ? (*ic_ptr)->probesize : 0)) < 0) { + if (!fmt && (err = ff_probe_input_buffer(&pb, &fmt, filename, logctx, 0, logctx ? (*ic_ptr)->probesize : 0)) < 0) { goto fail; } }