summaryrefslogtreecommitdiff
path: root/libavformat/librtmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/librtmp.c')
-rw-r--r--libavformat/librtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index d765102f1b..dd7640aaeb 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -109,7 +109,7 @@ fail:
return rc;
}
-static int rtmp_write(URLContext *s, uint8_t *buf, int size)
+static int rtmp_write(URLContext *s, const uint8_t *buf, int size)
{
RTMP *r = s->priv_data;