mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 09:27:44 +00: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:
parent
3d9408f4a7
commit
27241cbffe
10 changed files with 12 additions and 12 deletions
|
@ -31,7 +31,7 @@ typedef struct {
|
|||
URLContext *hd;
|
||||
} GopherContext;
|
||||
|
||||
static int gopher_write(URLContext *h, uint8_t *buf, int size)
|
||||
static int gopher_write(URLContext *h, const uint8_t *buf, int size)
|
||||
{
|
||||
GopherContext *s = h->priv_data;
|
||||
return url_write(s->hd, buf, size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue