mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Declare the url_write buffer parameter as const
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -456,7 +456,7 @@ static int udp_read(URLContext *h, uint8_t *buf, int size)
|
||||
return len;
|
||||
}
|
||||
|
||||
static int udp_write(URLContext *h, uint8_t *buf, int size)
|
||||
static int udp_write(URLContext *h, const uint8_t *buf, int size)
|
||||
{
|
||||
UDPContext *s = h->priv_data;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user