Mercurial > libavcodec.hg
diff huffyuv.c @ 4494:ce643a22f049 libavcodec
Replace deprecated PIX_FMT names by the newer variants.
author | diego |
---|---|
date | Wed, 07 Feb 2007 01:48:09 +0000 |
parents | c8c591fe26f8 |
children | 95875881b85b |
line wrap: on
line diff
--- a/huffyuv.c Tue Feb 06 23:58:02 2007 +0000 +++ b/huffyuv.c Wed Feb 07 01:48:09 2007 +0000 @@ -452,7 +452,7 @@ break; case 16: if(s->yuy2){ - avctx->pix_fmt = PIX_FMT_YUV422; + avctx->pix_fmt = PIX_FMT_YUYV422; }else{ avctx->pix_fmt = PIX_FMT_YUV422P; } @@ -460,7 +460,7 @@ case 24: case 32: if(s->bgr32){ - avctx->pix_fmt = PIX_FMT_RGBA32; + avctx->pix_fmt = PIX_FMT_RGB32; }else{ avctx->pix_fmt = PIX_FMT_BGR24; }