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:
a46f751
)
Use retry_transfer_wrapper() in url_write() as its callers do not expect it to stop...
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 6 Oct 2010 11:18:43 +0000
(11:18 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 6 Oct 2010 11:18:43 +0000
(11:18 +0000)
Originally committed as revision 25368 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avio.c
patch
|
blob
|
history
diff --git
a/libavformat/avio.c
b/libavformat/avio.c
index
bf0d9d8
..
2dae492
100644
(file)
--- a/
libavformat/avio.c
+++ b/
libavformat/avio.c
@@
-252,8
+252,8
@@
int url_write(URLContext *h, const unsigned char *buf, int size)
/* avoid sending too big packets */
if (h->max_packet_size && size > h->max_packet_size)
return AVERROR(EIO);
- ret = h->prot->url_write(h, buf, size);
- return ret;
+
+ return ret
ry_transfer_wrapper(h, buf, size, h->prot->url_write)
;
}
int64_t url_seek(URLContext *h, int64_t pos, int whence)