X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcyuv.c;h=9936b22583d7a282fc0f1c841cb4e037719ff9c1;hb=e1a983e6010930ab742bede275de1ccf921485b7;hp=2df6087ae0eb14fd173a38651ce57012f8db711f;hpb=2b6325cacb6def8e9de0455f575b51a8bd90b12c;p=ffmpeg diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c index 2df6087ae0e..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,13 +182,13 @@ 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, .decode = cyuv_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"), + .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"), }; #endif @@ -196,12 +196,12 @@ 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, .decode = cyuv_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), + .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), }; #endif