#include "avcodec.h"
#include "dsputil.h"
+#include "libavutil/internal.h"
typedef struct VCR1Context {
AVFrame picture;
AVCodec ff_vcr1_decoder = {
.name = "vcr1",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_VCR1,
+ .id = AV_CODEC_ID_VCR1,
.priv_data_size = sizeof(VCR1Context),
.init = vcr1_decode_init,
.close = vcr1_decode_end,
AVCodec ff_vcr1_encoder = {
.name = "vcr1",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_VCR1,
+ .id = AV_CODEC_ID_VCR1,
.priv_data_size = sizeof(VCR1Context),
.init = vcr1_common_init,
.encode = vcr1_encode_frame,