static int file_read(URLContext *h, unsigned char *buf, int size)

{

    FileContext *c = h->priv_data;

    int r = read(c->fd, buf, size);

    return (-1 == r)?AVERROR(errno):r;

}

static int file_read(URLContext *h, unsigned char *buf, int size)

{

    FileContext *c = h->priv_data;

    int r = read(c->fd, buf, size);

    return (-1 == r)?AVERROR(errno):r;

}

static int FUNC_0(URLContext *VAR_0, unsigned char *VAR_1, int VAR_2)

{

    FileContext *c = VAR_0->priv_data;

    int VAR_3 = read(c->fd, VAR_1, VAR_2);

    return (-1 == VAR_3)?AVERROR(errno):VAR_3;

}

static int FUNC_0(URLContext *VAR_0, unsigned char *VAR_1, int VAR_2)
{ FileContext *c = VAR_0->priv_data; int VAR_3 = read(c->fd, VAR_1, VAR_2); return (-1 == VAR_3)?AVERROR(errno):VAR_3; }