diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-06 22:34:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:08:13 +0100 |
commit | 9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 (patch) | |
tree | 3bb6c32c1443eda97524dbea69b60416a3bdc019 /libavformat/rtsp.c | |
parent | c4a090ddb564b87fd9d6d4f83e0f134a77c96007 (diff) | |
download | ffmpeg-9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4.tar.gz |
avformat: Use ff_check_interrupt
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 8f7bd3718f..5bdb7fa6a4 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1619,7 +1619,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st, struct pollfd *p = rt->p; for (;;) { - if (url_interrupt_cb()) + if (ff_check_interrupt(&s->interrupt_callback)) return AVERROR_EXIT; if (wait_end && wait_end - av_gettime() < 0) return AVERROR(EAGAIN); |