projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3966a57
)
Return from rtp_read when select returns an error
author
Martin Storsjö
<martin@martin.st>
Fri, 5 Mar 2010 08:15:20 +0000
(08:15 +0000)
committer
Martin Storsjö
<martin@martin.st>
Fri, 5 Mar 2010 08:15:20 +0000
(08:15 +0000)
Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpproto.c
b/libavformat/rtpproto.c
index
06bd8bf
..
4af97c1
100644
(file)
--- a/
libavformat/rtpproto.c
+++ b/
libavformat/rtpproto.c
@@
-248,6
+248,8
@@
static int rtp_read(URLContext *h, uint8_t *buf, int size)
}
break;
}
+ } else if (n < 0) {
+ return AVERROR(EIO);
}
}
#endif