Revision 57937d61 libavcodec/qtrleenc.c

View differences:

libavcodec/qtrleenc.c
68 68
    s->avctx=avctx;
69 69

  
70 70
    switch (avctx->pix_fmt) {
71
/*    case PIX_FMT_RGB555:
71
    case PIX_FMT_RGB555BE:
72 72
        s->pixel_size = 2;
73
        break;*/
73
        break;
74 74
    case PIX_FMT_RGB24:
75 75
        s->pixel_size = 3;
76 76
        break;
......
328 328
    qtrle_encode_init,
329 329
    qtrle_encode_frame,
330 330
    qtrle_encode_end,
331
    .pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_ARGB, PIX_FMT_NONE},
331
    .pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB555BE, PIX_FMT_ARGB, PIX_FMT_NONE},
332 332
    .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
333 333
};

Also available in: Unified diff