udp: update to new interrupt callback API

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-19 02:14:28 +01:00
parent e161b079de
commit 328a3545c6
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ static void *circular_buffer_task( void *_URLContext)
int ret; int ret;
int len; int len;
if (url_interrupt_cb()) { if (ff_check_interrupt(&h->interrupt_callback)) {
s->circular_buffer_error = EINTR; s->circular_buffer_error = EINTR;
return NULL; return NULL;
} }