diff options
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 7d858ccc6a..1f572320fa 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -922,7 +922,7 @@ static int rtmp_read(URLContext *s, uint8_t *buf, int size) return orig_size; } -static int rtmp_write(URLContext *h, uint8_t *buf, int size) +static int rtmp_write(URLContext *h, const uint8_t *buf, int size) { RTMPContext *rt = h->priv_data; int size_temp = size; |