summaryrefslogtreecommitdiff
path: root/libavcodec/pcxenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pcxenc.c')
-rw-r--r--libavcodec/pcxenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcxenc.c b/libavcodec/pcxenc.c
index 865d7bdbd3..7fc0408b5c 100644
--- a/libavcodec/pcxenc.c
+++ b/libavcodec/pcxenc.c
@@ -205,7 +205,7 @@ static int pcx_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
AVCodec ff_pcx_encoder = {
.name = "pcx",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PCX,
+ .id = AV_CODEC_ID_PCX,
.priv_data_size = sizeof(PCXContext),
.init = pcx_encode_init,
.encode2 = pcx_encode_frame,