#include <stdlib.h>
#include "avcodec.h"
+#include "libavutil/common.h"
#if CONFIG_ZLIB
#include <zlib.h>
AVCodec ff_cscd_decoder = {
.name = "camstudio",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_CSCD,
+ .id = AV_CODEC_ID_CSCD,
.priv_data_size = sizeof(CamStudioContext),
.init = decode_init,
.close = decode_end,