[FFmpeg-devel] [PATCH 3/5] ff_network_wait_fd_timeout(): check for interrupt before operation

Lukasz M lukasz.m.luki at gmail.com
Thu Jul 11 00:35:09 CEST 2013

>> I was struggling the same fragment of code, during FTP protocol implementation.
>> Not quite sure, but doesn't it make tcp protocol returning even though
>> there is some data available?
> Yes, this way data won't be transmitted even if socket is readable
> (writable). So what? Abortion is requested from upper layers, this
> fact has top priority.

Maybe we have different use cases in mind, but what is the reason to
call read/write operation when this operation will never happen,
because it will be interrupted before try?

More information about the ffmpeg-devel mailing list