---
 libavformat/avio.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/avio.c b/libavformat/avio.c
index ff740a2..359371c 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -21,6 +21,7 @@
 
 #include "libavutil/avstring.h"
 #include "libavutil/dict.h"
+#include "libavutil/internal.h"
 #include "libavutil/opt.h"
 #include "libavutil/time.h"
 #include "os_support.h"
@@ -281,9 +282,11 @@ int ffurl_write(URLContext *h, const unsigned char *buf, 
int size)
     if (h->max_packet_size && size > h->max_packet_size)
         return AVERROR(EIO);
 
+FF_DISABLE_POINTER_TYPES_WARNINGS
     return retry_transfer_wrapper(h, buf, size, size,
                                   (int (*)(struct URLContext *, uint8_t *, 
int))
                                   h->prot->url_write);
+FF_ENABLE_POINTER_TYPES_WARNINGS
 }
 
 int64_t ffurl_seek(URLContext *h, int64_t pos, int whence)
-- 
2.6.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to