#endif
#include "libavutil/lzo.h"
-typedef struct {
+typedef struct CamStudioContext {
int linelen, height, bpp;
unsigned int decomp_size;
unsigned char* decomp_buf;
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
- .capabilities = CODEC_CAP_DR1,
+ .capabilities = AV_CODEC_CAP_DR1,
};