static int crc_write_packet(struct AVFormatContext *s, 

                            int stream_index,

                            const uint8_t *buf, int size, int64_t pts)

{

    CRCState *crc = s->priv_data;

    crc->crcval = adler32(crc->crcval, buf, size);

    return 0;

}

static int crc_write_packet(struct AVFormatContext *s, 

                            int stream_index,

                            const uint8_t *buf, int size, int64_t pts)

{

    CRCState *crc = s->priv_data;

    crc->crcval = adler32(crc->crcval, buf, size);

    return 0;

}

static int FUNC_0(struct AVFormatContext *VAR_0, 

                            int VAR_1,

                            const uint8_t *VAR_2, int VAR_3, int64_t VAR_4)

{

    CRCState *crc = VAR_0->priv_data;

    crc->crcval = adler32(crc->crcval, VAR_2, VAR_3);

    return 0;

}

static int FUNC_0(struct AVFormatContext *VAR_0,
int VAR_1,
const uint8_t *VAR_2, int VAR_3, int64_t VAR_4)
{ CRCState *crc = VAR_0->priv_data; crc->crcval = adler32(crc->crcval, VAR_2, VAR_3); return 0; }