diff options
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 48399d081f..e79c8fcbfd 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -184,7 +184,7 @@ int url_read_complete(URLContext *h, unsigned char *buf, int size) return len; } -int url_write(URLContext *h, unsigned char *buf, int size) +int url_write(URLContext *h, const unsigned char *buf, int size) { int ret; if (!(h->flags & (URL_WRONLY | URL_RDWR))) |