#include <string.h>
#include <unistd.h>
-#include "common.h"
#include "avcodec.h"
#include "dsputil.h"
AVCodecContext *avctx;
AVFrame frame;
- unsigned char *buf;
+ const unsigned char *buf;
int size;
} MsrleContext;
static int msrle_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
MsrleContext *s = avctx->priv_data;