diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-05 11:11:04 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-07 16:00:24 +0200 |
commit | 36ef5369ee9b336febc2c270f8718cec4476cb85 (patch) | |
tree | d186adbb488e7f002aa894743b1ce0e8925520e6 /libavcodec/huffyuv.c | |
parent | 104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff) | |
download | ffmpeg-36ef5369ee9b336febc2c270f8718cec4476cb85.tar.gz |
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r-- | libavcodec/huffyuv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 943e48c569..8e428ac4f9 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -612,7 +612,7 @@ static av_cold int encode_init(AVCodecContext *avctx) } }else s->context= 0; - if(avctx->codec->id==CODEC_ID_HUFFYUV){ + if(avctx->codec->id==AV_CODEC_ID_HUFFYUV){ if(avctx->pix_fmt==PIX_FMT_YUV420P){ av_log(avctx, AV_LOG_ERROR, "Error: YV12 is not supported by huffyuv; use vcodec=ffvhuff or format=422p\n"); return -1; @@ -1451,7 +1451,7 @@ static av_cold int encode_end(AVCodecContext *avctx) AVCodec ff_huffyuv_decoder = { .name = "huffyuv", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_HUFFYUV, + .id = AV_CODEC_ID_HUFFYUV, .priv_data_size = sizeof(HYuvContext), .init = decode_init, .close = decode_end, @@ -1467,7 +1467,7 @@ AVCodec ff_huffyuv_decoder = { AVCodec ff_ffvhuff_decoder = { .name = "ffvhuff", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_FFVHUFF, + .id = AV_CODEC_ID_FFVHUFF, .priv_data_size = sizeof(HYuvContext), .init = decode_init, .close = decode_end, @@ -1483,7 +1483,7 @@ AVCodec ff_ffvhuff_decoder = { AVCodec ff_huffyuv_encoder = { .name = "huffyuv", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_HUFFYUV, + .id = AV_CODEC_ID_HUFFYUV, .priv_data_size = sizeof(HYuvContext), .init = encode_init, .encode2 = encode_frame, @@ -1499,7 +1499,7 @@ AVCodec ff_huffyuv_encoder = { AVCodec ff_ffvhuff_encoder = { .name = "ffvhuff", .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_FFVHUFF, + .id = AV_CODEC_ID_FFVHUFF, .priv_data_size = sizeof(HYuvContext), .init = encode_init, .encode2 = encode_frame, |