[FFmpeg-cvslog] r25368 - trunk/libavformat/avio.c

michael subversion
Wed Oct 6 13:18:43 CEST 2010


Author: michael
Date: Wed Oct  6 13:18:43 2010
New Revision: 25368

Log:
Use retry_transfer_wrapper() in url_write() as its callers do not expect it to stop in the middle.

Modified:
   trunk/libavformat/avio.c

Modified: trunk/libavformat/avio.c
==============================================================================
--- trunk/libavformat/avio.c	Wed Oct  6 13:18:38 2010	(r25367)
+++ trunk/libavformat/avio.c	Wed Oct  6 13:18:43 2010	(r25368)
@@ -252,8 +252,8 @@ int url_write(URLContext *h, const unsig
     /* 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 retry_transfer_wrapper(h, buf, size, h->prot->url_write);
 }
 
 int64_t url_seek(URLContext *h, int64_t pos, int whence)



More information about the ffmpeg-cvslog mailing list