summaryrefslogtreecommitdiff
path: root/libavcodec/loco.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/loco.c')
-rw-r--r--libavcodec/loco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index ef77c3f4fb..cace4bb448 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -28,7 +28,7 @@
#include "bitstream.h"
#include "golomb.h"
-enum LOCO_MODE {LOCO_UNKN=0, LOCO_CYUY2=-1, LOCO_CRGB=-2, LOCO_CYV12=-3,
+enum LOCO_MODE {LOCO_UNKN=0, LOCO_CYUY2=-1, LOCO_CRGB=-2, LOCO_CRGBA=-3, LOCO_CYV12=-4,
LOCO_YUY2=1, LOCO_UYVY=2, LOCO_RGB=3, LOCO_RGBA=4, LOCO_YV12=5};
typedef struct LOCOContext{
@@ -259,7 +259,7 @@ static int decode_init(AVCodecContext *avctx){
case LOCO_CYV12: case LOCO_YV12:
avctx->pix_fmt = PIX_FMT_YUV420P;
break;
- case LOCO_RGBA:
+ case LOCO_CRGBA: case LOCO_RGBA:
avctx->pix_fmt = PIX_FMT_RGBA32;
break;
default: