Mercurial > libavcodec.hg
changeset 2587:1e8fbc2b64e0 libavcodec
support some more color modes; patch by Kostya
author | melanson |
---|---|
date | Fri, 01 Apr 2005 04:30:31 +0000 |
parents | 00d9abc5f76f |
children | b6b618986f80 |
files | loco.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/loco.c Mon Mar 28 20:40:21 2005 +0000 +++ b/loco.c Fri Apr 01 04:30:31 2005 +0000 @@ -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 @@ 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: