summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-06 22:34:24 +0200
committerAnton Khirnov <anton@khirnov.net>2011-11-13 13:08:13 +0100
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);