aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mace.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-05 11:11:04 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-07 16:00:24 +0200
commit36ef5369ee9b336febc2c270f8718cec4476cb85 (patch)
treed186adbb488e7f002aa894743b1ce0e8925520e6 /libavcodec/mace.c
parent104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff)
downloadffmpeg-36ef5369ee9b336febc2c270f8718cec4476cb85.tar.gz
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r--libavcodec/mace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index e1402c7b9d..00f6f894fe 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -249,7 +249,7 @@ static int mace_decode_frame(AVCodecContext *avctx, void *data,
int16_t *samples;
MACEContext *ctx = avctx->priv_data;
int i, j, k, l, ret;
- int is_mace3 = (avctx->codec_id == CODEC_ID_MACE3);
+ int is_mace3 = (avctx->codec_id == AV_CODEC_ID_MACE3);
/* get output buffer */
ctx->frame.nb_samples = 3 * (buf_size << (1 - is_mace3)) / avctx->channels;
@@ -292,7 +292,7 @@ static int mace_decode_frame(AVCodecContext *avctx, void *data,
AVCodec ff_mace3_decoder = {
.name = "mace3",
.type = AVMEDIA_TYPE_AUDIO,
- .id = CODEC_ID_MACE3,
+ .id = AV_CODEC_ID_MACE3,
.priv_data_size = sizeof(MACEContext),
.init = mace_decode_init,
.decode = mace_decode_frame,
@@ -303,7 +303,7 @@ AVCodec ff_mace3_decoder = {
AVCodec ff_mace6_decoder = {
.name = "mace6",
.type = AVMEDIA_TYPE_AUDIO,
- .id = CODEC_ID_MACE6,
+ .id = AV_CODEC_ID_MACE6,
.priv_data_size = sizeof(MACEContext),
.init = mace_decode_init,
.decode = mace_decode_frame,