Revision 5f27348b libavcodec/pnmenc.c

View differences:

libavcodec/pnmenc.c
373 373
    NULL,
374 374
    NULL,
375 375
    pnm_decode_frame,
376
    CODEC_CAP_DR1,
376 377
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE},
377 378
    .long_name= NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
378 379
};
......
401 402
    NULL,
402 403
    NULL,
403 404
    pnm_decode_frame,
405
    CODEC_CAP_DR1,
404 406
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
405 407
    .long_name= NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
406 408
};
......
429 431
    NULL,
430 432
    NULL,
431 433
    pnm_decode_frame,
434
    CODEC_CAP_DR1,
432 435
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE},
433 436
    .long_name= NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
434 437
};
......
457 460
    NULL,
458 461
    NULL,
459 462
    pnm_decode_frame,
463
    CODEC_CAP_DR1,
460 464
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE},
461 465
    .long_name= NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
462 466
};
......
485 489
    NULL,
486 490
    NULL,
487 491
    pnm_decode_frame,
492
    CODEC_CAP_DR1,
488 493
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE},
489 494
    .long_name= NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
490 495
};

Also available in: Unified diff