[FFmpeg-devel] [PATCH 2/2] udp: fix non-blocking and interrupt handling.

Michael Niedermayer michaelni at gmx.at
Thu Mar 15 19:55:34 CET 2012


On Thu, Mar 15, 2012 at 12:27:00PM +0100, Nicolas George wrote:
> In non-blocking mode, lowest-level read protocols are
> supposed block only for a short amount of time to let
> retry_transfer_wrapper() check for interrupts.
> 
> Also, checking the interrupt_callback in the receiving thread is
> wrong, as interrupt_callback is not guaranteed to be thread-safe
> and the job is already done by retry_transfer_wrapper(). The error
> code was also incorrect.
> 
> Bug reported by Andrey Utkin.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>

LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120315/92c9a291/attachment.asc>


More information about the ffmpeg-devel mailing list