[FFmpeg-devel] [PATCH 1/2] Add 'rw_timeout' into URLContext
jamal
jamrial at gmail.com
Wed Aug 29 06:25:06 CEST 2012
On 28/08/12 7:33 PM, Michael Niedermayer wrote:
> On Mon, Aug 27, 2012 at 04:31:08PM +0300, Andrey Utkin wrote:
>> If set non-zero, limits duration of retry_transfer_wrapper() loop, thus
>> affects ffurl_read*(), ffurl_write()
>> Measured in microseconds.
>> ---
>> libavformat/avio.c | 12 ++++++++++--
>> libavformat/url.h | 1 +
>> 2 files changed, 11 insertions(+), 2 deletions(-)
>
> applied
>
> thanks
>
> [...]
>
This broke compilation for mingw when using --disable-network
CC libavformat/avio.o
libavformat/avio.c: In function 'retry_transfer_wrapper':
libavformat/avio.c:275:32: error: 'ETIMEDOUT' undeclared (first use in this function)
libavformat/avio.c:275:32: note: each undeclared identifier is reported only once for each function it appears in
make: *** [libavformat/avio.o] Error 1
make: *** Waiting for unfinished jobs....
ETIMEDOUT for Windows is declared in network.h
More information about the ffmpeg-devel
mailing list