aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/pnmdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pnmdec.c')
-rw-r--r--libavcodec/pnmdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c
index c49b019b17..13d5763b54 100644
--- a/libavcodec/pnmdec.c
+++ b/libavcodec/pnmdec.c
@@ -195,7 +195,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data,
AVCodec ff_pgm_decoder = {
.name = "pgm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PGM,
+ .id = AV_CODEC_ID_PGM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.close = ff_pnm_end,
@@ -209,7 +209,7 @@ AVCodec ff_pgm_decoder = {
AVCodec ff_pgmyuv_decoder = {
.name = "pgmyuv",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PGMYUV,
+ .id = AV_CODEC_ID_PGMYUV,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.close = ff_pnm_end,
@@ -223,7 +223,7 @@ AVCodec ff_pgmyuv_decoder = {
AVCodec ff_ppm_decoder = {
.name = "ppm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PPM,
+ .id = AV_CODEC_ID_PPM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.close = ff_pnm_end,
@@ -237,7 +237,7 @@ AVCodec ff_ppm_decoder = {
AVCodec ff_pbm_decoder = {
.name = "pbm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PBM,
+ .id = AV_CODEC_ID_PBM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.close = ff_pnm_end,
@@ -251,7 +251,7 @@ AVCodec ff_pbm_decoder = {
AVCodec ff_pam_decoder = {
.name = "pam",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PAM,
+ .id = AV_CODEC_ID_PAM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.close = ff_pnm_end,