diff cscd.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 e7dfc2743e26
children 66ef3690d108
line wrap: on
line diff
--- a/cscd.c	Tue Feb 06 23:58:02 2007 +0000
+++ b/cscd.c	Wed Feb 07 01:48:09 2007 +0000
@@ -222,7 +222,7 @@
     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",