projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899681c
)
Make av_read_frame with rtsp client return EINTR on interrupt
author
Luca Barbato
<lu_zero@gentoo.org>
Wed, 21 Nov 2007 10:26:11 +0000
(10:26 +0000)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 21 Nov 2007 10:26:11 +0000
(10:26 +0000)
patch from elupusateccedotse
Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
d71479c
..
4fec5b4
100644
(file)
--- 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++) {