Revision fb8a82d2 libavcodec/qpeg.c

View differences:

libavcodec/qpeg.c
33 33
    uint8_t *refdata;
34 34
} QpegContext;
35 35

  
36
static void qpeg_decode_intra(uint8_t *src, uint8_t *dst, int size,
36
static void qpeg_decode_intra(const uint8_t *src, uint8_t *dst, int size,
37 37
                            int stride, int width, int height)
38 38
{
39 39
    int i;
......
115 115
 { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04};
116 116

  
117 117
/* Decodes delta frames */
118
static void qpeg_decode_inter(uint8_t *src, uint8_t *dst, int size,
118
static void qpeg_decode_inter(const uint8_t *src, uint8_t *dst, int size,
119 119
                            int stride, int width, int height,
120 120
                            int delta, uint8_t *ctable, uint8_t *refdata)
121 121
{
......
249 249

  
250 250
static int decode_frame(AVCodecContext *avctx,
251 251
                        void *data, int *data_size,
252
                        uint8_t *buf, int buf_size)
252
                        const uint8_t *buf, int buf_size)
253 253
{
254 254
    QpegContext * const a = avctx->priv_data;
255 255
    AVFrame * const p= (AVFrame*)&a->pic;

Also available in: Unified diff