AVCodec ff_pgm_encoder = {
.name = "pgm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PGM,
+ .id = AV_CODEC_ID_PGM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.encode2 = pnm_encode_frame,
AVCodec ff_pgmyuv_encoder = {
.name = "pgmyuv",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PGMYUV,
+ .id = AV_CODEC_ID_PGMYUV,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.encode2 = pnm_encode_frame,
AVCodec ff_ppm_encoder = {
.name = "ppm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PPM,
+ .id = AV_CODEC_ID_PPM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.encode2 = pnm_encode_frame,
AVCodec ff_pbm_encoder = {
.name = "pbm",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PBM,
+ .id = AV_CODEC_ID_PBM,
.priv_data_size = sizeof(PNMContext),
.init = ff_pnm_init,
.encode2 = pnm_encode_frame,