for (i = 0; i < avctx->height; i++) {
for (j = 0; j < avctx->width; j++) {
- if (avctx->codec_id==CODEC_ID_AYUV) {
+ if (avctx->codec_id==AV_CODEC_ID_AYUV) {
v[j] = *src++;
u[j] = *src++;
y[j] = *src++;
AVCodec ff_ayuv_decoder = {
.name = "ayuv",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_AYUV,
+ .id = AV_CODEC_ID_AYUV,
.init = v408_decode_init,
.decode = v408_decode_frame,
.close = v408_decode_close,
AVCodec ff_v408_decoder = {
.name = "v408",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_V408,
+ .id = AV_CODEC_ID_V408,
.init = v408_decode_init,
.decode = v408_decode_frame,
.close = v408_decode_close,