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 1239521a7a..ae0ea3a102 100644
--- a/libavcodec/pamenc.c
+++ b/libavcodec/pamenc.c
@@ -110,7 +110,7 @@ static int pam_encode_frame(AVCodecContext *avctx, unsigned char *outbuf,
AVCodec pam_encoder = {
"pam",
- CODEC_TYPE_VIDEO,
+ AVMEDIA_TYPE_VIDEO,
CODEC_ID_PAM,
sizeof(PNMContext),
ff_pnm_init,