Revision 0fd0ef79 libavcodec/pnmdec.c

View differences:

libavcodec/pnmdec.c
199 199
    pnm_decode_frame,
200 200
    CODEC_CAP_DR1,
201 201
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE},
202
    .max_lowres = 5,
202 203
    .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
203 204
};
204 205
#endif
......
215 216
    pnm_decode_frame,
216 217
    CODEC_CAP_DR1,
217 218
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
219
    .max_lowres = 5,
218 220
    .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
219 221
};
220 222
#endif
......
231 233
    pnm_decode_frame,
232 234
    CODEC_CAP_DR1,
233 235
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE},
236
    .max_lowres = 5,
234 237
    .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
235 238
};
236 239
#endif
......
247 250
    pnm_decode_frame,
248 251
    CODEC_CAP_DR1,
249 252
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE},
253
    .max_lowres = 5,
250 254
    .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
251 255
};
252 256
#endif
......
263 267
    pnm_decode_frame,
264 268
    CODEC_CAP_DR1,
265 269
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE},
270
    .max_lowres = 5,
266 271
    .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
267 272
};
268 273
#endif

Also available in: Unified diff