mirror of https://git.ffmpeg.org/ffmpeg.git
udp: update to new interrupt callback API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e161b079de
commit
328a3545c6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue