[SCM] libav/experimental: Make av_read_frame with rtsp client return EINTR on interrupt patch from elupusateccedotse
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:09:41 UTC 2013
The following commit has been merged in the experimental branch:
commit a960a1e041fd2647b806f744ca0e409c30bd8d32
Author: Luca Barbato <lu_zero at gentoo.org>
Date: Wed Nov 21 10:26:11 2007 +0000
Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse
Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index d71479c..4fec5b4 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1130,7 +1130,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
for(;;) {
if (url_interrupt_cb())
- return -1;
+ return AVERROR(EINTR);
FD_ZERO(&rfds);
fd_max = -1;
for(i = 0; i < rt->nb_rtsp_streams; i++) {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list