Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-07 00:34:24 +0400
committerAnton Khirnov <anton@khirnov.net>2011-11-13 16:08:13 +0400
commit9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 (patch)
tree3bb6c32c1443eda97524dbea69b60416a3bdc019 /libavformat/rtpproto.c
parentc4a090ddb564b87fd9d6d4f83e0f134a77c96007 (diff)
avformat: Use ff_check_interrupt
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 9a18157df5..1bb0a4b8a6 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -226,7 +226,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
struct pollfd p[2] = {{s->rtp_fd, POLLIN, 0}, {s->rtcp_fd, POLLIN, 0}};
for(;;) {
- if (url_interrupt_cb())
+ if (ff_check_interrupt(&h->interrupt_callback))
return AVERROR_EXIT;
/* build fdset to listen to RTP and RTCP packets */
n = poll(p, 2, 100);