diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-03-15 12:19:37 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-03-17 14:43:37 +0100 |
commit | 463705bd1c644bbdded7bcf9f619bcb4203d562f (patch) | |
tree | 384ffbf7e8580cfecb34fa9c2e954b90b2c2f3e9 /libavformat/avio.c | |
parent | d9f26a0d71e3f726cb7a764fa274aa84441a2ddb (diff) | |
download | ffmpeg-463705bd1c644bbdded7bcf9f619bcb4203d562f.tar.gz |
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 'libavformat/avio.c')
0 files changed, 0 insertions, 0 deletions