Revision 71e445fc libavcodec/qtrle.c

View differences:

libavcodec/qtrle.c
29 29
 * The QT RLE decoder has seven modes of operation:
30 30
 * 1, 2, 4, 8, 16, 24, and 32 bits per pixel. For modes 1, 2, 4, and 8
31 31
 * the decoder outputs PAL8 colorspace data. 16-bit data yields RGB555
32
 * data. 24-bit data is RGB24 and 32-bit data is RGBA32.
32
 * data. 24-bit data is RGB24 and 32-bit data is RGB32.
33 33
 */
34 34

  
35 35
#include <stdio.h>
......
515 515
        break;
516 516

  
517 517
    case 32:
518
        avctx->pix_fmt = PIX_FMT_RGBA32;
518
        avctx->pix_fmt = PIX_FMT_RGB32;
519 519
        break;
520 520

  
521 521
    default:

Also available in: Unified diff