diff options
author | Martin Storsjö <martin@martin.st> | 2010-06-01 11:46:23 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-06-01 11:46:23 +0400 |
commit | 27241cbffe180fc92f9f519c6ea7957fc4b3b0c9 (patch) | |
tree | 7076509cac1a6aec2ff053b1a95fe8eab7b99465 /libavformat/rtmpproto.c | |
parent | 3d9408f4a7129ba6fb06f838afa5663c5c73075d (diff) |
Declare the url_write buffer parameter as const
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
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; |