changeset 2772:b43dc2901f83 libavformat

Make av_read_frame with rtsp client return EINTR on interrupt patch from elupusateccedotse
author lu_zero
date Wed, 21 Nov 2007 10:26:11 +0000
parents d52c718e83f9
children 13b65f62e3a6
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Wed Nov 21 07:41:00 2007 +0000
+++ b/rtsp.c	Wed Nov 21 10:26:11 2007 +0000
@@ -1130,7 +1130,7 @@
 
     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++) {