Revision 29846f48 libavcodec/loco.c

View differences:

libavcodec/loco.c
28 28
#include "bitstream.h"
29 29
#include "golomb.h"
30 30

  
31
enum LOCO_MODE {LOCO_UNKN=0, LOCO_CYUY2=-1, LOCO_CRGB=-2, LOCO_CYV12=-3,
31
enum LOCO_MODE {LOCO_UNKN=0, LOCO_CYUY2=-1, LOCO_CRGB=-2, LOCO_CRGBA=-3, LOCO_CYV12=-4,
32 32
 LOCO_YUY2=1, LOCO_UYVY=2, LOCO_RGB=3, LOCO_RGBA=4, LOCO_YV12=5};
33 33

  
34 34
typedef struct LOCOContext{
......
259 259
    case LOCO_CYV12: case LOCO_YV12:
260 260
        avctx->pix_fmt = PIX_FMT_YUV420P;
261 261
        break;
262
    case LOCO_RGBA:
262
    case LOCO_CRGBA: case LOCO_RGBA:
263 263
        avctx->pix_fmt = PIX_FMT_RGBA32;
264 264
        break;
265 265
    default:

Also available in: Unified diff