Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-06-01 11:46:23 +0400
committerMartin Storsjö <martin@martin.st>2010-06-01 11:46:23 +0400
commit27241cbffe180fc92f9f519c6ea7957fc4b3b0c9 (patch)
tree7076509cac1a6aec2ff053b1a95fe8eab7b99465 /libavformat/rtpproto.c
parent3d9408f4a7129ba6fb06f838afa5663c5c73075d (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/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 754908cc0b..bbcf0d91c3 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -279,7 +279,7 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
return len;
}
-static int rtp_write(URLContext *h, uint8_t *buf, int size)
+static int rtp_write(URLContext *h, const uint8_t *buf, int size)
{
RTPContext *s = h->priv_data;
int ret;