From 71e445fca3ccc1285068386bf9858d180b0fecfc Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 7 Feb 2007 01:48:09 +0000 Subject: Replace deprecated PIX_FMT names by the newer variants. Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cscd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cscd.c') diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c index d8733d6dd7..2e7d05c402 100644 --- a/libavcodec/cscd.c +++ b/libavcodec/cscd.c @@ -222,7 +222,7 @@ static int decode_init(AVCodecContext *avctx) { switch (avctx->bits_per_sample) { case 16: avctx->pix_fmt = PIX_FMT_RGB555; break; case 24: avctx->pix_fmt = PIX_FMT_BGR24; break; - case 32: avctx->pix_fmt = PIX_FMT_RGBA32; break; + case 32: avctx->pix_fmt = PIX_FMT_RGB32; break; default: av_log(avctx, AV_LOG_ERROR, "CamStudio codec error: invalid depth %i bpp\n", -- cgit v1.2.3