X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcyuv.c;h=9936b22583d7a282fc0f1c841cb4e037719ff9c1;hb=e1a983e6010930ab742bede275de1ccf921485b7;hp=a23c5611887bd444831d57d070ea64266a0edc78;hpb=31dfe20dd2fe16c2a3a6816d140b8a32dbdc06ba;p=ffmpeg diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c index a23c5611887..9936b22583d 100644 --- a/libavcodec/cyuv.c +++ b/libavcodec/cyuv.c @@ -83,7 +83,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx, unsigned char cur_byte; int pixel_groups; - if (avctx->codec_id == CODEC_ID_AURA) { + if (avctx->codec_id == AV_CODEC_ID_AURA) { y_table = u_table; u_table = v_table; } @@ -182,7 +182,7 @@ static av_cold int cyuv_decode_end(AVCodecContext *avctx) AVCodec ff_aura_decoder = { .name = "aura", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_AURA, + .id = AV_CODEC_ID_AURA, .priv_data_size = sizeof(CyuvDecodeContext), .init = cyuv_decode_init, .close = cyuv_decode_end, @@ -196,7 +196,7 @@ AVCodec ff_aura_decoder = { AVCodec ff_cyuv_decoder = { .name = "cyuv", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_CYUV, + .id = AV_CODEC_ID_CYUV, .priv_data_size = sizeof(CyuvDecodeContext), .init = cyuv_decode_init, .close = cyuv_decode_end,