Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
oops, forgot about these changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Oct 27, 2013
1 parent c0a95ff commit 54bc555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ff_dataref.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static int dataref_open(URLContext *h, const char *filename, int flags)
return result;
} /* dataref_open() */

static int dataref_read(URLContext *h, const char *buf, int size, AVDictionary **dict)
static int dataref_read(URLContext *h, unsigned char *buf, int size)
{
int result;
dataref_private *p = (dataref_private*)h->priv_data;
Expand Down Expand Up @@ -138,7 +138,7 @@ static int dataref_read(URLContext *h, const char *buf, int size, AVDictionary *
return (int)read;
} /* dataref_read() */

static int dataref_write(URLContext *h, unsigned char *buf, int size)
static int dataref_write(URLContext *h, const unsigned char *buf, int size)
{
int result;
int written = size;
Expand Down Expand Up @@ -210,7 +210,7 @@ URLProtocol dataref_protocol = {
dataref_open,
dataref_read,
dataref_write,
.url_seek = dataref_seek,
dataref_seek,
dataref_close,
};

Expand Down

0 comments on commit 54bc555

Please sign in to comment.