summaryrefslogtreecommitdiff
path: root/libavcodec/pamenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pamenc.c')
-rw-r--r--libavcodec/pamenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pamenc.c b/libavcodec/pamenc.c
index 930fdd6912..a43aa55ffb 100644
--- a/libavcodec/pamenc.c
+++ b/libavcodec/pamenc.c
@@ -132,7 +132,7 @@ static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
AVCodec ff_pam_encoder = {
.name = "pam",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PAM,
+ .id = AV_CODEC_ID_PAM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.encode2 = pam_encode_frame,