diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-03-15 15:19:37 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-03-17 17:43:37 +0400 |
commit | 463705bd1c644bbdded7bcf9f619bcb4203d562f (patch) | |
tree | 384ffbf7e8580cfecb34fa9c2e954b90b2c2f3e9 /libavfilter/vf_thumbnail.c | |
parent | d9f26a0d71e3f726cb7a764fa274aa84441a2ddb (diff) |
udp: fix non-blocking and interrupt handling.
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.
Diffstat (limited to 'libavfilter/vf_thumbnail.c')
0 files changed, 0 insertions, 0 deletions